[Twisted-Python] Re: [Twisted-commits] r16524 - Further enhance win32 portability of subprocess support.

Andrew Bennetts andrew-twisted at puzzling.org
Sun Apr 2 22:27:12 EDT 2006


On Sat, Apr 01, 2006 at 04:27:22PM -0700, Glyph Lefkowitz wrote:
> Author: glyph
> Date: Sat Apr  1 16:27:20 2006
> New Revision: 16524
[...]
> +        for stdfd in range(0, 1, 2):
> +            msvcrt.setmode(stdfd, os.O_BINARY)
> +

"range(0, 1, 2)" is a particularly obscure way to say "[0]".  I'm guessing
there's no test coverage for reading binary data from stdout or stderr of
subprocesses?

-Andrew.





More information about the Twisted-Python mailing list