Skip to content

Conversation

@cmaloney
Copy link
Contributor

@cmaloney cmaloney commented Nov 26, 2025

Removes a copy going from bytearray to bytes.

Removes a copy going from bytearray to bytes.
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vstinner vstinner changed the title gh-141968: Use take_byes in encodings.punycode gh-141968: Use take_bytes in encodings.punycode Nov 27, 2025
@vstinner vstinner enabled auto-merge (squash) November 28, 2025 17:18
@vstinner vstinner merged commit 5a7c9c6 into python:main Nov 28, 2025
46 checks passed
@cmaloney cmaloney deleted the encodings_punycode_take_bytes branch November 28, 2025 19:53
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Removes a copy going from bytearray to bytes.

Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants