Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
o11c
on Nov 7, 2024
|
parent
|
context
|
favorite
| on:
Don't return named tuples in new APIs
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.
ericvsmith
on Nov 7, 2024
[–]
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: