-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-46443: deepfreeze use preallocated small ints #30715
Conversation
It is an implementation detail so skip news. |
I don't think that's how we usually do this. We skip news for things like fixing typos in comments, but almost anything else gets a new entry. Maybe you're confused with "What's New in 3.11"? That definitely only should get the major visible items. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG except I would like to see a one-line news item.
Did you check how much space this saves? (Probably nut that much since ints are small.)
Ok, I'll add a news fragment. Should I create a bpo for this now ? |
Yeah. |
I recommend that you put a little more effort in writing the initial comment for the bpo issues you create. E.g. not just what to do, but why it's worth doing and what impact you expect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This was indeed super-simple. :-)
I would also do this for empty bytes object as that also has a global singleton. (DONE) |
Good idea. Maybe you can just add that to this PR, it's small enough. |
I was confused by this PR as it skipped news #30092 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Now just waiting for CI to finish...
Different core devs have different standards... |
I'm the bot. :-) |
https://bugs.python.org/issue46443