[Python-Dev] RFC: PEP 509: Add a private version to dict
Armin Rigo
arigo at tunes.org
Thu Apr 14 16:42:21 EDT 2016
More information about the Python-Dev mailing list
Thu Apr 14 16:42:21 EDT 2016
- Previous message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Next message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Victor, On 14 April 2016 at 17:19, Victor Stinner <victor.stinner at gmail.com> wrote: > Each time a dictionary is created, the global > version is incremented and the dictionary version is initialized to the > global version. A detail, but why not set the version tag of new empty dictionaries to zero, always? Same after a clear(). This would satisfy the condition: equality of the version tag is supposed to mean "the dictionary content is precisely the same". A bientôt, Armin.
- Previous message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Next message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list