Hrvoje Nikšić added the comment:

You can simplify pickle_lambda in the test by using marshal.dumps(code_obj) and 
marshal.loads(code_obj) to dump and load the code object without going through 
its entire guts. It would be a shame to have to change a pickle test just 
because some detail of the code object implementation changes.

----------
nosy: +hniksic

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26959>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to