Skip to content

BytesIO and StringIO issues with large sizes #160781

Closed

Description

Activity

  1. self-assigned this
    on Oct 27, 2026
  2. added
    type-bug
    extension-modules
    3.14
    3.15
    3.16
    on Oct 27, 2026
  3. added 7 commits that reference this issue on Oct 29, 2026
  4. added a commit that references this issue on Oct 29, 2026
  5. added a commit that references this issue on Oct 29, 2026
  6. nascheme commented on Oct 30, 2026

    @nascheme
    Member

    FYI, I saw this error yesterday on some of the buildbots (32-bit platforms maybe):

    ERROR: test_issue141311 (test.test_memoryio.PyBytesIOTest.test_issue141311)----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/buildbot/buildarea/pull_request.ware-debian-x86.installed/build/target/lib/python3.14/test/test_memoryio.py", line 571, in test_issue141311
        self.assertEqual(memio.getvalue(), b"")
                         ~~~~~~~~~~~~~~^^  File "/buildbot/buildarea/pull_request.ware-debian-x86.installed/build/target/lib/python3.14/_pyio.py", line 901, in getvalue
        return bytes(self._buffer)
    OverflowError: byte string is too large
    

    Perhaps this has already been resolved but I'm posting this in case it's still failing.

  7. StanFromIreland commented on Oct 30, 2026

    @StanFromIreland
    Member

    @nascheme thanks for letting us know, however, was it before or after 8dbc313 (can you please send a link to the run?).

  8. nascheme commented on Oct 30, 2026

    @nascheme
    Member
  9. StanFromIreland commented on Oct 30, 2026

    @StanFromIreland
    Member

    I'd presume it was fixed by it, if it pops up with that commit please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.143.153.16OS-linuxOS-windowsextension-modulestopic-IOtype-bug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions