You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ShareableList corrupts multi-byte UTF-8 strings and bytes with trailing nulls #145261
ShareableList allocates string slots based on character count instead of UTF-8 byte count, causing corruption for multi-byte characters. Additionally, rstrip(b'\x00') strips legitimate trailing null bytes from bytes values.
Note: The trailing null bytes issue was originally reported in #106939 (July 2023) and documented as a known issue with a workaround. This fix attempts to resolve both that long-standing issue and the newly discovered UTF-8 corruption bug.
Activity
pythongh-145261: Fix ShareableList corruption for multi-byte strings …
pythongh-145261: Fix ShareableList corruption for multi-byte strings …
pythongh-145261: Fix ShareableList corruption for multi-byte strings …
pythongh-145261: Fix ShareableList corruption for multi-byte strings …
pythongh-145261: Fix ShareableList corruption for multi-byte strings …
pythongh-145261: Fix ShareableList corruption for multi-byte strings …
docs: Update ShareableList documentation for fixed trailing null bug
pythongh-106939, pythongh-145261: Fix ShareableList data corruption
test: Add tests for trailing null preservation and multi-byte UTF-8 i…