Eryk Sun <eryk...@gmail.com> added the comment:

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.

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42175>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to