Patches item #1744398, was opened at 2007-06-27 11:44
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1744398&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Eric Huss (ehuss)
Assigned to: Nobody/Anonymous (nobody)
Summary: Improve exception pickling support

Initial Comment:
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.



----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-08-11 11:31

Message:
Logged In: YES 
user_id=33168
Originator: NO

Eric, could you comment on the current version of the other patch?  Does
that work for you?  Is that sufficient?  If not, how are they different? 
Should they both be applied, in part or in whole?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1744398&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to