Message52804
| Author |
ehuss |
| Recipients |
| Date |
2007年06月27日.18:44:32 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:58:54 | admin | link | issue1744398 messages |
| 2007年08月23日 15:58:54 | admin | create |
|