Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I mean that the `id` function returns by value. It's not interning since that explicitly refers to something allocated, which isn't the case here.


This is incorrect. The returned integer is a regular Python object, not some "unboxed" integer value.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: