[issue20804] Sentinels identity lost when pickled (unittest.mock)
R. David Murray
report at bugs.python.org
Fri Feb 28 17:10:14 CET 2014
R. David Murray added the comment:
In case anyone is wondering, I'm leaving this open in case Michael thinks it is a good idea to add some sort of documentation note about this. I'm not sure it is, because this is fundamental to the way Python works. On the other hand, I can't think of any specific manual or tutorial section we could direct someone to to get an explanation of what is going on.
This one comes close: http://docs.python.org/2/faq/programming.html#how-can-my-code-discover-the-name-of-an-object but doesn't tell the whole story since it doesn't cover pickle.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20804>
_______________________________________
More information about the Python-bugs-list
mailing list