[issue3392] subprocess fails in select when descriptors are large

Frank Chu report at bugs.python.org
Wed Apr 1 01:33:36 CEST 2009


Frank Chu <fpmchu at gmail.com> added the comment:

Updated with new patch.  I moved the try: except logic in the module
initialization step so I get a global has_poll, similar to the global
mswindows already there.

I now use a try/except/else to be more robust (not needed now since it's
only "has_poll = True", but I think it's better code.

----------
Added file: http://bugs.python.org/file13531/subprocess_with_poll3.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3392>
_______________________________________


More information about the Python-bugs-list mailing list