Message102756
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? |
|
Date |
User |
Action |
Args |
2010-04-09 22:26:39 | Yaniv.Aknin | set | recipients:
+ Yaniv.Aknin, amaury.forgeotdarc, dwalczak, mcrute |
2010-04-09 22:26:39 | Yaniv.Aknin | set | messageid: <1270851999.5.0.10389593328.issue6457@psf.upfronthosting.co.za> |
2010-04-09 22:26:38 | Yaniv.Aknin | link | issue6457 messages |
2010-04-09 22:26:37 | Yaniv.Aknin | create | |
|