SpawnProcess: work around array.fromfile() bugs
authorZac Medico <zmedico@gentoo.org>
Fri, 16 Dec 2011 02:02:32 +0000 (18:02 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 16 Dec 2011 02:02:32 +0000 (18:02 -0800)
commit30d2d0a9db486c5a70848ad5d27b37a3ec48f271
tree41a00a4003a65dce79b426bf444ea16d0494367c
parent915348ce34fc499ac295b8f0ffee9f0829803542
SpawnProcess: work around array.fromfile() bugs

When I extended test_poll to test SpawnProcess array.fromfile() usage,
it exposed bugs in array.fromfile() that I couldn't find a way to
handle. So, use os.read() instead.
pym/_emerge/AbstractPollTask.py
pym/_emerge/SpawnProcess.py
pym/portage/tests/process/test_poll.py