Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment:

Here's the fix. The added check in Pickler_dump should prevent any
segfaults due to __init__() errors. 

I also added the check proposed by Christian as a safe-guard in case a
core developer adds a new method that doesn't check if the object was
properly initialized.

Added file: http://bugs.python.org/file11704/_pickle.c

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3664>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to