alt.hn

5/11/2026 at 6:52:36 PM

Python Is Weird

https://kowal.dev/blog/python-is-weird

by zggf

5/12/2026 at 9:09:20 AM

All pretty well-known stuff, I thought.

> More interesting is int. At the time of writing this post, the current implementation of CPython pre-allocates integers from -5 to 256.

The upper bound will increase to 1024 in CPython 3.15 IIRC.

by zahlman

5/13/2026 at 5:43:02 AM

[flagged]

by mrdoosun