James Sanders <bistromath...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13842> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com