[Python-Dev] RFC: PEP 509: Add a private version to dict (original) (raw)
Victor Stinner victor.stinner at gmail.com
Thu Apr 14 18:13: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 ]
2016-04-14 23:29 GMT+02:00 Barry Warsaw <barry at python.org>:
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 a lock around incrementing the global version number.
It's not like the builtin dict type is going to become GIL-free... So I think that it's ok to use a global version.
A very few know that, but the GIL has some advantages sometimes...
Victor
- 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 ]