Message162541
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. |
|
Date |
User |
Action |
Args |
2012-06-08 18:08:52 | r.david.murray | set | recipients:
+ r.david.murray, eric.araujo, docs@python, hynek |
2012-06-08 18:08:52 | r.david.murray | set | messageid: <1339178932.45.0.993022595611.issue15034@psf.upfronthosting.co.za> |
2012-06-08 18:08:51 | r.david.murray | link | issue15034 messages |
2012-06-08 18:08:51 | r.david.murray | create | |
|