[issue20804] Sentinels identity lost when pickled (unittest.mock)
R. David Murray
report at bugs.python.org
Fri Feb 28 15:11:54 CET 2014
R. David Murray added the comment:
Since the point of a sentinel is *object identity*, there is no way that you can get the "same" sentinel back after a pickle. This is fundamental to the nature of pickle.
----------
nosy: +michael.foord, r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20804>
_______________________________________
More information about the Python-bugs-list
mailing list