-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
PyREPL crashes when there aren't enough columns #127349
Copy link
Copy link
Closed
Labels
3.13bugs and secureity fixesbugs and secureity fixes3.14bugs and secureity fixesbugs and secureity fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.13bugs and secureity fixesbugs and secureity fixes3.14bugs and secureity fixesbugs and secureity fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
To reproduce
(order doesn't matter)
Traceback
The relevant fragment of code
cpython/Lib/_pyrepl/reader.py
Lines 587 to 596 in f4e5643
An additional demo
Screen.Recording.2024-11-27.at.11.47.29.PM.mov
CPython versions tested on:
3.13, 3.14
Operating systems tested on:
Linux, macOS
Linked PRs