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 | alexandre.vassalotti |
|---|---|
| Recipients | alexandre.vassalotti, bkline, cyhawk, jcea, schmir |
| Date | 2008年04月27日.02:48:20 |
| SpamBayes Score | 0.13508774 |
| Marked as misclassified | No |
| Message-id | <1209264502.45.0.804924968705.issue2480@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Bob Kline wrote: > 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. Pickling recursive data-structure should not crash the interpreter. Please open a new issue and don't forget to provide an example case. > 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. The section of documentation, you are referring to, uses the term "recursive object" to means an object which contains a reference to itself. Anyway, the documentation [1] states clearly: Trying to pickle a highly recursive data structure may exceed the maximum recursion depth, a RuntimeError will be raised in this case. You can carefully raise this limit with sys.setrecursionlimit(). [1]: http://docs.python.org/lib/node317.html |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年04月27日 02:48:22 | alexandre.vassalotti | set | spambayes_score: 0.135088 -> 0.13508774 recipients: + alexandre.vassalotti, jcea, bkline, schmir, cyhawk |
| 2008年04月27日 02:48:22 | alexandre.vassalotti | set | spambayes_score: 0.135088 -> 0.135088 messageid: <1209264502.45.0.804924968705.issue2480@psf.upfronthosting.co.za> |
| 2008年04月27日 02:48:21 | alexandre.vassalotti | link | issue2480 messages |
| 2008年04月27日 02:48:20 | alexandre.vassalotti | create | |