Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-46443: deepfreeze use preallocated small ints#30715

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gvanrossum merged 4 commits intopython:mainfromkumaraditya303:longobj
Jan 20, 2022

Conversation

kumaraditya303
Copy link
Contributor

@kumaraditya303kumaraditya303 commentedJan 20, 2022
edited by bedevere-bot
Loading

@kumaraditya303
Copy link
ContributorAuthor

It is an implementation detail so skip news.

@gvanrossum
Copy link
Member

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.

Copy link
Member

@gvanrossumgvanrossum left a 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.)

@kumaraditya303
Copy link
ContributorAuthor

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.

Ok, I'll add a news fragment. Should I create a bpo for this now ?

@gvanrossum
Copy link
Member

Should I create a bpo for this now ?

Yeah.

@kumaraditya303kumaraditya303 changed the titledeepfreeze use preallocated small intsbpo-46443: deepfreeze use preallocated small intsJan 20, 2022
@gvanrossum
Copy link
Member

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.

kumaraditya303 reacted with thumbs up emoji

Copy link
Member

@gvanrossumgvanrossum left a 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. :-)

@kumaraditya303
Copy link
ContributorAuthor

kumaraditya303 commentedJan 20, 2022
edited
Loading

I would also do this for empty bytes object as that also has a global singleton. (DONE)

@gvanrossum
Copy link
Member

I would also do this for empty bytes object as that also has a global singleton but separately.

Good idea. Maybe you can just add that to this PR, it's small enough.

@kumaraditya303
Copy link
ContributorAuthor

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.

I was confused by this PR as it skipped news#30092

Copy link
Member

@gvanrossumgvanrossum left a 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...

@gvanrossum
Copy link
Member

I was confused by this PR as it skipped news#30092

Different core devs have different standards...

@gvanrossumgvanrossum merged commit194ecc6 intopython:mainJan 20, 2022
@gvanrossum
Copy link
Member

I'm the bot. :-)

@kumaraditya303kumaraditya303 deleted the longobj branchJanuary 20, 2022 06:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gvanrossumgvanrossumgvanrossum approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@kumaraditya303@gvanrossum@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp