[issue4374] Pickle tests fail w/o _pickle extension

Alexandre Vassalotti report at bugs.python.org
Sat Nov 22 02:10:44 CET 2008


Alexandre Vassalotti <alexandre at peadrop.com> added the comment:

I think the best way to fix this is to add sanity checks similar to the
ones in _pickle. The checks are obviously useless in pickle.py, but I
think it is simpler than to try to skip tests, and it gives a nicer
error message to people who forget to call __init__ when subclassing.

----------
keywords: +patch
Added file: http://bugs.python.org/file12105/fix_issue4374.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4374>
_______________________________________


More information about the Python-bugs-list mailing list