[issue20804] Sentinels identity lost when pickled (unittest.mock)

Michael Foord report at bugs.python.org
Fri Feb 28 17:01:50 CET 2014


Michael Foord added the comment:

Maybe making sentinels unpickleable would be a better solution. On the other hand I'd love to be able to [properly] customise object creation when unpickling. It would solve various other problems I've had from time to time. But that's well outside the scope of this bug.

----------

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


More information about the Python-bugs-list mailing list