[Python-Dev] RFC: PEP 509: Add a private version to dict
Barry Warsaw
barry at python.org
Thu Apr 14 17:29:26 EDT 2016
More information about the Python-Dev mailing list
Thu Apr 14 17:29:26 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 ]
On Apr 14, 2016, at 11:17 PM, Victor Stinner wrote: >You're right that incrementing the global version is useless for these >specific cases, and using the version 0 should work. It only matters >that the version (version? version tag?) is different. > >I will play with that. If I don't see any issue, I will update the PEP. > >It's more an implementation detail, but it may help to mention it in the PEP. I can see why you might want a global version number, but not doing so would eliminate an implicit reliance on the GIL, or in a GIL-less implementation <wink> a lock around incrementing the global version number. -Barry
- 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