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

Davin Potts report at bugs.python.org
Tue Jan 10 16:12:53 EST 2017


Davin Potts added the comment:

Serhiy: The above discussion seemed to converge on the perspective that object identity should not survive pickling and that the point of a sentinel is object identity.  While your proposed patch may mechanically work, I believe it is in conflict with the outcome of the thoughtful discussion above.

----------
nosy: +davin

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


More information about the Python-bugs-list mailing list