<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/subprocess.py, branch 3.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/subprocess.py?h=3.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/subprocess.py?h=3.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2013-03-23T18:44:25Z</updated>
<entry>
<title>Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value</title>
<updated>2013-03-23T18:44:25Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2013-03-23T18:44:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a1ed539268e37b12a4a864738b4d1e12bdb92793'/>
<id>urn:sha1:a1ed539268e37b12a4a864738b4d1e12bdb92793</id>
<content type='text'>
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
</content>
</entry>
<entry>
<title>remove the long obsolete mention of universal newlines mode only being</title>
<updated>2013-03-21T01:32:03Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2013-03-21T01:32:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f8a40b81d359c66b6b67dd0f532a655cf490b68'/>
<id>urn:sha1:1f8a40b81d359c66b6b67dd0f532a655cf490b68</id>
<content type='text'>
available when configured at compile time.
</content>
</entry>
<entry>
<title>Issue #16903: Popen.communicate() on Unix now accepts strings when</title>
<updated>2013-02-04T14:47:39Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-02-04T14:47:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b3f194d10951d5c23af885c6d55c45dfb0db0666'/>
<id>urn:sha1:b3f194d10951d5c23af885c6d55c45dfb0db0666</id>
<content type='text'>
universal_newlines is true as on Windows.
</content>
</entry>
<entry>
<title>Keep ref to ECHILD in local scope (#16650)</title>
<updated>2012-12-24T18:06:35Z</updated>
<author>
<name>Andrew Svetlov</name>
<email>andrew.svetlov@gmail.com</email>
</author>
<published>2012-12-24T18:06:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08bab072917c2eeea3a0f3da0546d57cf5072bcf'/>
<id>urn:sha1:08bab072917c2eeea3a0f3da0546d57cf5072bcf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes issue #16140: The subprocess module no longer double closes its</title>
<updated>2012-11-11T09:37:02Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2012-11-11T09:37:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=12489d98e692717a93694644dac4975d54106178'/>
<id>urn:sha1:12489d98e692717a93694644dac4975d54106178</id>
<content type='text'>
child subprocess.PIPE parent file descriptors on child error prior to
exec().

This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
</content>
</entry>
<entry>
<title>Remove the subprocess "bad exception data" warning (formerly a print!)</title>
<updated>2012-11-11T08:04:13Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2012-11-11T08:04:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3aee2221229b9802dcc27b2709d5e97918b8ad46'/>
<id>urn:sha1:3aee2221229b9802dcc27b2709d5e97918b8ad46</id>
<content type='text'>
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".

This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
</content>
</entry>
<entry>
<title>Rename a local variable for readability and change a "this can't</title>
<updated>2012-11-11T07:33:17Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2012-11-11T07:33:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f44c9da16655395f57d3686cb4d82b651489a974'/>
<id>urn:sha1:f44c9da16655395f57d3686cb4d82b651489a974</id>
<content type='text'>
happen" print() call into a RuntimeWarning as it should've been in the
first place.  Because nothing should ever cause unexpected stdout output.
</content>
</entry>
<entry>
<title>Fixes issue #16327: The subprocess module no longer leaks file descriptors</title>
<updated>2012-11-11T06:32:22Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2012-11-11T06:32:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3d8e776cd932ff79fe181984cacce9ff8bcf3e4c'/>
<id>urn:sha1:3d8e776cd932ff79fe181984cacce9ff8bcf3e4c</id>
<content type='text'>
used for stdin/stdout/stderr pipes to the child when fork() fails.
</content>
</entry>
<entry>
<title>Fixes issue #14396: Handle the odd rare case of waitpid returning 0 when</title>
<updated>2012-11-11T04:52:29Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2012-11-11T04:52:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ec82331b25bb1542113f65c70e41932831fe546'/>
<id>urn:sha1:2ec82331b25bb1542113f65c70e41932831fe546</id>
<content type='text'>
not expected in subprocess.Popen.wait().
</content>
</entry>
<entry>
<title>Fixes Issue #16114: The subprocess module no longer provides a</title>
<updated>2012-10-10T10:34:47Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2012-10-10T10:34:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5591b02a4c96c4b530ee024e6b1581f5ba72945d'/>
<id>urn:sha1:5591b02a4c96c4b530ee024e6b1581f5ba72945d</id>
<content type='text'>
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.

It now keeps track of if the child got as far as preexec and reports it if
not back to the parent via a special "noexec" error message value in
the error pipe so that the cwd can be blamed for a failed chdir
instead of the exec of the executable being blamed instead.

The executable is also always reported accurately when exec fails.

Unittests enhanced to cover these cases.
</content>
</entry>
</feed>
