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 Yaniv.Aknin
Recipients Yaniv.Aknin, amaury.forgeotdarc, dwalczak, mcrute
Date 2010-04-09.22:26:37
SpamBayes Score 3.9008304e-07
Marked as misclassified No
Message-id <1270851999.5.0.10389593328.issue6457@psf.upfronthosting.co.za>
In-reply-to
Content
I've updated the sample code to run with Python 3 and tested on Ubuntu 9.10 with and without setting subprocess._has_poll = False.

As expected, when using poll() the sample runs correctly.
When not using poll() the sample breaks (sometimes no data, sometimes some data; oddly, it seems the 'some data' variant appears only when I strace the process, probably because it slows things down).

I suggest this be committed against 3.2 as well, but I don't know how these things are usually done; should I produce a separate patch which ports the latest patch currently posted in this thead against py3k? Or will this be done by whomever applies the patch?
History
Date User Action Args
2010-04-09 22:26:39Yaniv.Akninsetrecipients: + Yaniv.Aknin, amaury.forgeotdarc, dwalczak, mcrute
2010-04-09 22:26:39Yaniv.Akninsetmessageid: <1270851999.5.0.10389593328.issue6457@psf.upfronthosting.co.za>
2010-04-09 22:26:38Yaniv.Akninlinkissue6457 messages
2010-04-09 22:26:37Yaniv.Aknincreate