[issue26058] Add dict.__version__ read-only property

STINNER Victor report at bugs.python.org
Sat Jan 9 06:09:25 EST 2016


STINNER Victor added the comment:

> I don't understand this:
>> The version 0 is reserved for "missing key"

Oh, ignore it, it's an outdated comment :-) Dictionary version is initialized to 0, it's not more "reserved".

FYI I added the comment in my first implementation which also added a version to dictionary *entries*.

----------

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


More information about the Python-bugs-list mailing list