Message252464
I don’t think it is right to assume pseudo-terminals behave exactly like pipes. I suspect the behaviour when the slave is closed is undefined, or at best platform-specific, and there is no bug to fix in Python.
Also, it looks like array.fromfile() assumes any short read implies EOF, so the unbuffered workaround may not work in all cases. The documentation is vague on what it accepts, but I suspect it only works properly with a binary “buffered” file in general. |
|
Date |
User |
Action |
Args |
2015-10-07 11:33:03 | martin.panter | set | recipients:
+ martin.panter, gvanrossum, exarkun, amaury.forgeotdarc, pitrou, ocean-city, Arfrever, marduk, zmedico, marcio |
2015-10-07 11:33:03 | martin.panter | set | messageid: <1444217583.53.0.487633546171.issue5380@psf.upfronthosting.co.za> |
2015-10-07 11:33:03 | martin.panter | link | issue5380 messages |
2015-10-07 11:33:03 | martin.panter | create | |
|