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 | bkline |
|---|---|
| Recipients | bkline, cyhawk, jcea, schmir |
| Date | 2008年04月25日.17:33:41 |
| SpamBayes Score | 0.1247017 |
| Marked as misclassified | No |
| Message-id | <1209144823.28.0.499711962133.issue2480@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I just ran into this behavior with an attempt to pickle a dom tree for an XML document whose nesting level never got deeper than nine child nodes, and indeed it crashed the interpreter. Throwing an exception would be preferable, of course, to silent blowing up Python, but even the exception seems to fly in the face of the documentation for the pickle module [1] which claims (summarizing) that serializing recursive objects using marshal will fail but pickling recursive objects will not fail. I can provide a repro for the XML/DOM pickling case if you think that would be helpful, but that seems redundant since essentially you've already illustrated the problem with your own repro case. Thanks for your work on the solution. [1] http://docs.python.org/lib/node314.html |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年04月25日 17:33:43 | bkline | set | spambayes_score: 0.124702 -> 0.1247017 recipients: + bkline, jcea, schmir, cyhawk |
| 2008年04月25日 17:33:43 | bkline | set | spambayes_score: 0.124702 -> 0.124702 messageid: <1209144823.28.0.499711962133.issue2480@psf.upfronthosting.co.za> |
| 2008年04月25日 17:33:42 | bkline | link | issue2480 messages |
| 2008年04月25日 17:33:41 | bkline | create | |