[issue15756] subprocess.poll() does not handle errno.ECHILD "No child processes"

2012-08-21 Thread Todd Whiteman
Todd Whiteman added the comment: The attached patch handles errno.ECHILD in the _internal_poll() method and I've updated the existing "sigchild_ignore.py" test file to perform polling as well. An unpatched version of Pyhton would normally hang on this particular test, whi

[issue15756] subprocess.poll() does not handle errno.ECHILD "No child processes"

2012-08-21 Thread Todd Whiteman
Changes by Todd Whiteman : -- nosy: +gregory.p.smith ___ Python tracker <http://bugs.python.org/issue15756> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15756] subprocess.poll() does not handle errno.ECHILD "No child processes"

2012-08-21 Thread Todd Whiteman
New submission from Todd Whiteman: In the case of a "errno.ECHILD" exception - Python's subprocess module misses the fact that the process has already ended. The following code will wait indefinitely, even though the launched process is quickly ended: import subprocess, signa

[issue3905] subprocess failing in GUI applications on Windows

2011-04-05 Thread Todd Whiteman
Todd Whiteman added the comment: I still see this problem (in Python 2.7.1 and Python 3.1.2). When testing using idle, you'll need to launch using "pythonw.exe", i.e.: pythonw.exe lib\idlelib\idle.py -- ___ Python tracker <http

[issue9609] make cProfile multi-stack aware

2010-09-27 Thread Todd Whiteman
Changes by Todd Whiteman : -- nosy: +twhitema ___ Python tracker <http://bugs.python.org/issue9609> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8350] os.mkdir doc comment is incorrect

2010-04-08 Thread Todd Whiteman
New submission from Todd Whiteman : The doc command for os.mkdir is incorrect (at least for posix). It specifies that there is an optional mode keyword, but it's not a keyword argument, see below: >>> import os >>> help(os.mkdir) mkdir(...) mkdir(path [, mode=0

[issue7753] newgil backport

2010-02-02 Thread Todd Whiteman
Changes by Todd Whiteman : -- nosy: +twhitema ___ Python tracker <http://bugs.python.org/issue7753> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3210] subprocess.Popen does not release process handles if process cannot be started

2009-08-26 Thread Todd Whiteman
Todd Whiteman added the comment: Is this a duplicate of this already fixed issue: issue5179 ? -- nosy: +twhitema ___ Python tracker <http://bugs.python.org/issue3

[issue2057] difflib: add patch capability

2009-06-03 Thread Todd Whiteman
Changes by Todd Whiteman : -- nosy: +twhitema ___ Python tracker <http://bugs.python.org/issue2057> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-11-12 Thread Todd Whiteman
Changes by Todd Whiteman <[EMAIL PROTECTED]>: -- nosy: +twhitema ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2054> ___ __

[issue4171] SSL handshake fails after TCP connection in getpeername()

2008-11-09 Thread Todd Whiteman
Changes by Todd Whiteman <[EMAIL PROTECTED]>: -- nosy: +twhitema ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4171> ___ __

[issue3905] subprocess failing in GUI applications on Windows

2008-09-21 Thread Todd Whiteman
Todd Whiteman <[EMAIL PROTECTED]> added the comment: Uh, the Idle bug reported by Jean-Michel is a completely different bug (please see the first three messages of this report). Please re-open this bug, as the subprocess issue I have reported is still outst

[issue3905] subprocess failing in GUI applications on Windows

2008-09-18 Thread Todd Whiteman
Todd Whiteman <[EMAIL PROTECTED]> added the comment: This seems to be somewhat related to issue1124861: http://bugs.python.org/issue1124861 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3905] subprocess failing in GUI applications on Windows

2008-09-18 Thread Todd Whiteman
New submission from Todd Whiteman <[EMAIL PROTECTED]>: I'm getting a 'The handle is invalid' error when using subprocess.Popen in Python 2.5 (and 2.6). If any of the stdio handles are somehow invalid or not real io handles (fd is not 0, 1 or 2), and you are not telling subp