[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, signal signal.signal

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

2012-08-21 Thread Todd Whiteman
Changes by Todd Whiteman twhit...@yahoo.com.au: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15756 ___ ___ Python-bugs

[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, whilst the patched version

[issue3905] subprocess failing in GUI applications on Windows

2011-04-05 Thread Todd Whiteman
Todd Whiteman twhit...@yahoo.com.au 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 rep

[issue9609] make cProfile multi-stack aware

2010-09-27 Thread Todd Whiteman
Changes by Todd Whiteman twhit...@yahoo.com.au: -- nosy: +twhitema ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9609 ___ ___ Python-bugs-list

[issue8350] os.mkdir doc comment is incorrect

2010-04-08 Thread Todd Whiteman
New submission from Todd Whiteman twhit...@yahoo.com.au: 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=0777

[issue7753] newgil backport

2010-02-02 Thread Todd Whiteman
Changes by Todd Whiteman twhit...@yahoo.com.au: -- nosy: +twhitema ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7753 ___ ___ Python-bugs-list

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

2009-08-26 Thread Todd Whiteman
Todd Whiteman twhit...@yahoo.com.au added the comment: Is this a duplicate of this already fixed issue: issue5179 ? -- nosy: +twhitema ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3210

[issue2057] difflib: add patch capability

2009-06-03 Thread Todd Whiteman
Changes by Todd Whiteman twhit...@yahoo.com.au: -- nosy: +twhitema ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2057 ___ ___ Python-bugs-list

[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 ___ ___ Python-bugs-list mailing list

[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 ___ ___ Python-bugs-list mailing list

[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 outstanding

[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.python.org/issue3905