I think I originally planned to do this but it made the implementation a bit more complicated and maybe all the pieces to do it weren't in place / stable yet, and after talking to Eric it seemed like it wasn't time sensitive back then.
I don't remember any major show stoppers, just, "This is hard enough, I should spend my effort points on other stuff that matters more." Which isn't to say there aren't show stoppers, just that I don't remember any.
I think the big thing to be aware of when doing this is that the weak cache is not for performance, it is guaranteeing specific semantics, detailed in PEP 615. So hopefully it is possible to do this while maintaining the relevant guarantees.
sobolevn commentedNov 5, 2022
Feature or enhancement
Following https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan we need to convert
_zoneinfoto use module state.Pitch
Right now there are several global objects:
cpython/Modules/_zoneinfo.c
Lines 23 to 25 in 47ab848
and
cpython/Modules/_zoneinfo.c
Lines 96 to 101 in 47ab848
And one static type definition:
cpython/Modules/_zoneinfo.c
Line 93 in 47ab848
If this is indeed planned to be fixed, I would love to work on it.
The text was updated successfully, but these errors were encountered: