4 ms·
Basically yes, although it is not part of the language definition and should not be relied on. It's just an implementation artifact of CPython, and not only tha
by reinhardt 16y ago
Basically yes, although it is not part of the language definition and should not be relied on. It's just an implementation artifact of CPython, and not only that but the threshold of which integers are cached changes for different Python versions.