[issue13842] Cannot pickle Ellipsis or NotImplemented

James Sanders report at bugs.python.org
Tue Jan 24 15:33:52 CET 2012


James Sanders <bistromathic1 at gmail.com> added the comment:

I've submitted a patch that just uses save_global to pickle Ellipsis and NotImplemented, so the resulting pickle should be unpicklable anywhere.  I'm completely new to the C API so not sure if the way I am building python strings (to pass to save_global) is correct, but it seems to work.

----------
keywords: +patch
Added file: http://bugs.python.org/file24315/pickling_ellipsis_notimplemented.patch

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


More information about the Python-bugs-list mailing list