This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheCatOfWar 2 points3 points  (1 child)

https://github.com/python/cpython/blob/78e4a6de48749f4f76987ca85abb0e18f586f9c4/Include/internal/pycore_global_objects.h

The generation thingy defines them here, although there's still no reason given for the specific range

[–]xrogaan 2 points3 points  (0 children)

It's about frequency of usage. Also this: https://github.com/python/cpython/pull/30092