NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Python Is Weird (kowal.dev)
zahlman 10 hours ago [-]
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.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:01:34 GMT+0000 (UTC) with Wasmer Edge.