Skip to content

gh-147944: Increase range of bytes_per_sep#147946

Merged
serhiy-storchaka merged 3 commits intopython:mainfrom
serhiy-storchaka:bytes_per_sep-maxsize
Apr 1, 2026
Merged

gh-147944: Increase range of bytes_per_sep#147946
serhiy-storchaka merged 3 commits intopython:mainfrom
serhiy-storchaka:bytes_per_sep-maxsize

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Mar 31, 2026

Accepted range for the bytes_per_sep argument of bytes.hex(), bytearray.hex(), memoryview.hex(), and binascii.b2a_hex() is now increased, so passing sys.maxsize and -sys.maxsize is now valid.

Accepted range for the bytes_per_sep argument of bytes.hex(),
bytearray.hex(), memoryview.hex(), and binascii.b2a_hex()
is now increased, so passing sys.maxsize and -sys.maxsize is now
valid.
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) April 1, 2026 08:23
@serhiy-storchaka serhiy-storchaka merged commit 473d2a3 into python:main Apr 1, 2026
53 checks passed
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.

2 participants