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 r.david.murray
Recipients docs@python, eric.araujo, hynek, r.david.murray
Date 2012-06-08.18:08:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339178932.45.0.993022595611.issue15034@psf.upfronthosting.co.za>
In-reply-to
Content
The obvious example is that the tutorial makes no mention of calling 'super' in __init__.  I'm also aware that there are issues of pickleability that arise if you do things one way, but do not arise if you do things another way.  But I don't know the details, and I'd like to see the tutorial show an example of the *best* way to write a user defined exception so that they behave like the built in Python exceptions.
History
Date User Action Args
2012-06-08 18:08:52r.david.murraysetrecipients: + r.david.murray, eric.araujo, docs@python, hynek
2012-06-08 18:08:52r.david.murraysetmessageid: <1339178932.45.0.993022595611.issue15034@psf.upfronthosting.co.za>
2012-06-08 18:08:51r.david.murraylinkissue15034 messages
2012-06-08 18:08:51r.david.murraycreate