Anthon van der Neut added the comment:
Guido's suggestion to change all entries to PyDictEntry resp.
PyDictObject would work as well and declutter the code in a better way.
The only advantage of the typedefs that I see (and briefly used) it that
it is easy to have structures local to
Peter Ã…strand added the comment:
Most probably, this is not a problem with the Python side or the pipes,
but the libc streams in the application. stderr is normally unbuffered,
while stdout is buffered. You can see this by running the app with grep:
$ ./a.out | grep STDOUT
STDERR sleeping 0
New submission from Chris Withers:
The attached script demonstrates the bug.
option.dest should be set, even if not explicitly supplied in the call
to parser.add_option, by the time the callback is called.
Unless dest='something' is specified in the call to add_option, you will
get the
Georg Brandl added the comment:
This is a bug tracker, not a discussion forum. Please go to the
comp.lang.python newsgroup.
--
nosy: +georg.brandl
resolution: - invalid
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1242
Guido van Rossum added the comment:
It was deemed a documentation bug.
--
nosy: +gvanrossum
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1240
__
___
Python-bugs-list
Guido van Rossum added the comment:
This is how C stdio works in the subprocess. Python's subprocess.py has
nothing to do with it and can't do anything about it.
--
nosy: +gvanrossum
resolution: - invalid
status: open - closed
__
Tracker [EMAIL