Author Cornelius Diekmann
Recipients Cornelius Diekmann, cstratak, haypo, martin.panter
Date 2017-08-10.09:28:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502357339.37.0.0733932142847.issue31158@psf.upfronthosting.co.za>
In-reply-to
Content
I observed the same issue, but the problem occurs mainly when reading data. In my proposed patch in issue29070, I use the existing pty._writen() to make sure all data is written. As Martin mentioned, reading is a problem. My patch proposes _os_timeout_read(), _os_readline(), _os_read_exactly(), _os_read_exhaust_exactly() to give fine-grained, deterministic control. Cheeky advertisement: Anybody cares to review issue29070 or cherry pick the pty._writen() and _os_read* parts? :)
History
Date User Action Args
2017-08-10 09:28:59Cornelius Diekmannsetrecipients: + Cornelius Diekmann, haypo, martin.panter, cstratak
2017-08-10 09:28:59Cornelius Diekmannsetmessageid: <1502357339.37.0.0733932142847.issue31158@psf.upfronthosting.co.za>
2017-08-10 09:28:59Cornelius Diekmannlinkissue31158 messages
2017-08-10 09:28:59Cornelius Diekmanncreate