[issue6849] Tutorial changes

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74782. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue6849] Tutorial changes

2009-09-07 Thread Georg Brandl
Georg Brandl added the comment: I've already renamed the message attribute in the 2.x tutorial in trunk. -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue6849] Tutorial changes

2009-09-06 Thread Michael Foord
Michael Foord added the comment: The TransitionError defined in section 8.5 of the tutorial has a 'message' argument / attribute that will raise a DeprecationWarning in Python 2.6. -- ___ Python tracker ___

[issue6849] Tutorial changes

2009-09-06 Thread Michael Foord
Michael Foord added the comment: In addition section 8.3 of the tutorial references the .message attribute which is now deprecated. But use of .args is discouraged. Instead, the preferred use is to pass a single argument to an exception (which can be a tuple if multiple arguments are needed) an

[issue6849] Tutorial changes

2009-09-06 Thread Michael Foord
New submission from Michael Foord : There are a couple of minor changes I'd like to make to the tutorial. Section 6.1 introduces the import * syntax without noting that it is bad practise. I'd like to add the following text: The import * form is generally considered to be bad practise as it ma