Message162541
| 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: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 |
|