Message130197
Attached a modified patch that should work against 3.2+ heads:
- Added `isatty` bit field in isatty that's evaluated during its
construction. This should eliminate the need to call `isatty()` on
every write.
- Cap buffer length to 32767 (4 * 1024 - 1) when writing to a tty.
- Test this by supplying `CREATE_NEW_CONSOLE` to `subprocess.call`, so
we do not flood regrtest's console output.
These changes are conditionally compiled on Windows only.
Should a similar patch be made for 2.7+ (maybe earlier)? |
|
Date |
User |
Action |
Args |
2011-03-06 22:58:37 | santoso.wijaya | set | recipients:
+ santoso.wijaya, terry.reedy, amaury.forgeotdarc, pitrou, vstinner, casevh, neologix |
2011-03-06 22:58:37 | santoso.wijaya | set | messageid: <1299452317.32.0.171643770415.issue11395@psf.upfronthosting.co.za> |
2011-03-06 22:58:36 | santoso.wijaya | link | issue11395 messages |
2011-03-06 22:58:35 | santoso.wijaya | create | |
|