This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients michael.foord
Date 2009-09-06.21:54:37
SpamBayes Score 0.016255248
Marked as misclassified No
Message-id <1252274079.28.0.800301174416.issue6849@psf.upfronthosting.co.za>
In-reply-to
Content
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) and have it bound to the message attribute. One
may also instantiate an exception first before raising it and add any
attributes to it as desired.
History
Date User Action Args
2009-09-06 21:54:39michael.foordsetrecipients: + michael.foord
2009-09-06 21:54:39michael.foordsetmessageid: <1252274079.28.0.800301174416.issue6849@psf.upfronthosting.co.za>
2009-09-06 21:54:37michael.foordlinkissue6849 messages
2009-09-06 21:54:37michael.foordcreate