This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Anthony Sottile, ammar2, eryksun
Date 2020-10-27.18:47:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603824431.28.0.586671796803.issue42175@roundup.psfhosted.org>
In-reply-to
Content
For Windows see issue 41849. The legacy limit (i.e. PYTHONLEGACYWINDOWSSTDIO) for reading input via io.FileIO is 8K characters in Windows, but with io._WindowsConsoleIO, it's only 512 characters, which is far too small in general. The legacy implementation of input() based on C fgets() is capped at 4K characters in Windows, which is the same as a Linux terminal. The new implementation of input() in Windows (i.e. _PyOS_WindowsConsoleReadline) increases the limit to 16K characters. I'd like to see both cases increased to 32K characters, which is the length limit of a command line or file path in Windows.
History
Date User Action Args
2020-10-27 18:47:11eryksunsetrecipients: + eryksun, Anthony Sottile, ammar2
2020-10-27 18:47:11eryksunsetmessageid: <1603824431.28.0.586671796803.issue42175@roundup.psfhosted.org>
2020-10-27 18:47:11eryksunlinkissue42175 messages
2020-10-27 18:47:11eryksuncreate