Yaniv Aknin <yaniv.ak...@gmail.com> added the comment:

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?

----------
nosy: +Yaniv.Aknin
versions: +Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to