
April 14, 2016
9:29 p.m.
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