➜

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.

作者 ehuss
收信人
日期 2007-06-27.18:44:32
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
内容
Due to various issues with how pickle works and new-style classes, pickling exception objects has been somewhat unreliable since Python 2.5.  See comments in patch #1692335 for more detail.  Attached is a patch that seems to improve pickling exceptions to support various different types of subclasses.

It has some limitations (exceptions that use __slots__, doesn't fully support SyntaxError, UnicodeError, SystemExit, or WindowsError).  However, it is an improvement for my situation.

历史
日期 用户 动作 参数
2007-08-23 15:58:54admin链接issue1744398 messages
2007-08-23 15:58:54admin创建