This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Arfrever, amaury.forgeotdarc, exarkun, gvanrossum, marcio, marduk, martin.panter, ocean-city, pitrou, zmedico
Date 2015-10-07.11:33:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444217583.53.0.487633546171.issue5380@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-10-07 11:33:03martin.pantersetrecipients: + martin.panter, gvanrossum, exarkun, amaury.forgeotdarc, pitrou, ocean-city, Arfrever, marduk, zmedico, marcio
2015-10-07 11:33:03martin.pantersetmessageid: <1444217583.53.0.487633546171.issue5380@psf.upfronthosting.co.za>
2015-10-07 11:33:03martin.panterlinkissue5380 messages
2015-10-07 11:33:03martin.pantercreate