[issue1238] dictobject and dictentry not used consistently in dictobject.c

2007-10-06 Thread Anthon van der Neut
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

[issue1241] subprocess.py stdout of childprocess always buffered.

2007-10-06 Thread Peter Ã…strand
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

[issue1243] option.dest not set when callback called with optparse

2007-10-06 Thread Chris Withers
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

[issue1242] test

2007-10-06 Thread Georg Brandl
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

[issue1240] str.split bug when using sep = None and maxsplit

2007-10-06 Thread Guido van Rossum
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

[issue1241] subprocess.py stdout of childprocess always buffered.

2007-10-06 Thread Guido van Rossum
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