Message166297
I think I've found the root cause.
On my system (also tested in 3.2) /dev/tty is opened successfully, but wrapping it in io.BufferedRandom fails. By the time the exception is raised, FileIO object is already created, and then it immediately gets deleted.
I'm attaching a patch that closes the file explicitly in this case.
Be extra careful when reviewing though - this is the first time I'm touching Python's C code. |
|
Date |
User |
Action |
Args |
2012-07-24 14:22:02 | anton.barkovsky | set | recipients:
+ anton.barkovsky, gregory.p.smith, orsenthil, eric.araujo |
2012-07-24 14:22:02 | anton.barkovsky | set | messageid: <1343139722.48.0.669514028104.issue11466@psf.upfronthosting.co.za> |
2012-07-24 14:22:01 | anton.barkovsky | link | issue11466 messages |
2012-07-24 14:22:01 | anton.barkovsky | create | |
|