Message379789
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. |
|
Date |
User |
Action |
Args |
2020-10-27 18:47:11 | eryksun | set | recipients:
+ eryksun, Anthony Sottile, ammar2 |
2020-10-27 18:47:11 | eryksun | set | messageid: <1603824431.28.0.586671796803.issue42175@roundup.psfhosted.org> |
2020-10-27 18:47:11 | eryksun | link | issue42175 messages |
2020-10-27 18:47:11 | eryksun | create | |
|