Message102797
It turns out isatty() returns True for fds created by openpty(), which helps quite a bit: we can silence EIO for ttys while keeping it for non-ttys, where a low-level I/O (hardware) error should be raised properly.
Here is a patch for trunk. |
|
Date |
User |
Action |
Args |
2010-04-10 22:03:52 | pitrou | set | recipients:
+ pitrou, gvanrossum, exarkun, amaury.forgeotdarc, ocean-city, Arfrever, marduk, zmedico |
2010-04-10 22:03:52 | pitrou | set | messageid: <1270937032.47.0.858467085674.issue5380@psf.upfronthosting.co.za> |
2010-04-10 22:03:51 | pitrou | link | issue5380 messages |
2010-04-10 22:03:50 | pitrou | create | |
|