Skip to content

gh-147944: Increase range of bytes_per_sep#147946

Open
serhiy-storchaka wants to merge 1 commit intopython:mainfrom
serhiy-storchaka:bytes_per_sep-maxsize
Open

gh-147944: Increase range of bytes_per_sep#147946
serhiy-storchaka wants to merge 1 commit 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants