[issue23564] Patch fixing sanity check for ordered fd sequence in _posixsubprocess.c

Gregory P. Smith report at bugs.python.org
Mon Nov 16 00:11:16 EST 2015


Gregory P. Smith added the comment:

heh, you're right.  it's a trivial obvious fix for the mistake in the existing implementation.  writing a test and committing.

the other option would be to get rid of the sanity check entirely or change it not to use the odd "require a sorted list" code.  but i like the sanity check and refactoring it to not require a sorted list within this code path would be complicated.

----------

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


More information about the Python-bugs-list mailing list