cpython/Modules
Gregory P. Smith 5591b02a4c Fixes Issue #16114: The subprocess module no longer provides a
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.
2012-10-10 03:34:47 -07:00
..
_ctypes Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler 2012-08-25 11:19:14 +02:00
_io #15796: Fix \n in readline docstring. Patch by Serhiy Storchaka. 2012-09-18 07:20:18 +03:00
_multiprocessing Issue #10133: Make multiprocessing deallocate buffer if socket read fails. 2012-06-11 15:12:12 +01:00
_sqlite sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures 2012-02-21 13:49:50 +02:00
cjkcodecs Issue #12016: Reindent decoders of HK and JP codecs 2011-06-03 23:34:09 +02:00
expat Fixes Issue 14234: fix for the previous commit, keep compilation when 2012-03-14 18:10:37 -07:00
zlib Merge with 3.1. 2011-03-16 12:51:44 +02:00
Setup.config.in
Setup.dist Fix few typos. 2011-11-11 19:35:42 +01:00
_bisectmodule.c Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. 2012-05-16 14:37:54 +02:00
_codecsmodule.c
_collectionsmodule.c Closes #15469: Correct __sizeof__ support for deque 2012-08-03 14:49:42 +02:00
_csv.c Issue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka. 2012-09-25 02:30:27 -07:00
_curses_panel.c
_cursesmodule.c Issue #10570: curses.putp() is now expecting a byte string, instead of a 2011-11-03 20:35:40 +01:00
_datetimemodule.c Issue #15973: fixed 3.2 backport. 2012-09-20 17:23:46 -04:00
_dbmmodule.c
_elementtree.c Raise ImportError if pyexpat's version is incompatible 2012-07-21 20:28:46 +03:00
_functoolsmodule.c #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
_gdbmmodule.c #6045: provide at least get() and setdefault() for all dbm modules. 2010-12-04 09:14:36 +00:00
_gestalt.c
_hashopenssl.c hashlib has two new constant attributes: algorithms_guaranteed and 2010-09-06 08:30:23 +00:00
_heapqmodule.c Inline cmp_lt(). 2010-09-05 05:26:10 +00:00
_json.c Issue #5067: improve some json error messages. 2012-06-29 01:58:26 +02:00
_localemodule.c PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject* 2010-10-07 01:02:42 +00:00
_lsprof.c Reverted accidental commit (from r87159) 2010-12-10 18:14:16 +00:00
_math.c Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken. 2012-08-18 12:24:30 +01:00
_math.h Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken. 2012-08-18 12:24:30 +01:00
_pickle.c Issue #13505: Make pickling of bytes object compatible with Python 2. 2011-12-13 13:08:09 -05:00
_posixsubprocess.c Fixes Issue #16114: The subprocess module no longer provides a 2012-10-10 03:34:47 -07:00
_randommodule.c tabbing no longer applicable 2010-08-24 18:08:22 +00:00
_scproxy.c Merged revisions 85062 via svnmerge from 2010-09-28 14:40:22 +00:00
_sre.c keep the buffer object around while we're using it (closes #14212) 2012-03-07 14:50:25 -06:00
_ssl.c Closes #15793: Stack corruption in ssl.RAND_egd() 2012-09-11 02:00:58 +02:00
_struct.c Issue #15402: Simplify Struct.__sizeof__ and make tests more precise. 2012-07-28 22:16:39 -05:00
_testcapimodule.c Test running of code in a sub-interpreter 2012-01-18 00:21:11 +01:00
_testembed.c Issue #12090: backport 79fcd71d0356 2011-05-26 00:37:45 +02:00
_threadmodule.c prevent writing to stderr from messing up the exception state (closes #14474) 2012-04-02 11:15:17 -04:00
_time.c
_time.h
_tkinter.c Closes #15396: memory leak in tkinter 2012-07-19 21:18:07 +02:00
_weakref.c
addrinfo.h
ar_beos
arraymodule.c Issue #15424: Add a __sizeof__ implementation for array objects. 2012-08-10 22:35:45 -05:00
atexitmodule.c Issue #10756: atexit normalizes the exception before displaying it. Patch by 2011-05-15 18:57:44 +02:00
audioop.c Issue #13806: The size check in audioop decompression functions was too strict and could reject valid compressed data. 2012-01-28 22:01:59 +01:00
binascii.c Remove all other uses of the C tolower()/toupper() which could break with a Turkish locale. 2011-10-04 13:50:21 +02:00
bz2module.c Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one. 2011-10-13 13:34:16 +02:00
cmathmodule.c #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
config.c.in #9418: first step of moving private string methods to _string module. 2010-10-14 07:04:07 +00:00
cryptmodule.c
errnomodule.c Issue 9916: Add some missing errno symbols. 2010-09-22 20:58:04 +00:00
fcntlmodule.c Merged revisions 84249,84264,84326-84327,84407,84476,84480-84482,84484,84530-84531,84553,84619,84684,84915-84916 via svnmerge from 2010-10-06 08:54:16 +00:00
fpectlmodule.c
fpetestmodule.c
gc_weakref.txt
gcmodule.c Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts. 2012-05-28 22:22:34 +02:00
getaddrinfo.c Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code. 2012-08-02 20:37:12 +02:00
getbuildinfo.c let's keep parenthesis around sizeof 2011-03-28 17:25:15 -05:00
getnameinfo.c Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code. 2012-08-02 20:37:12 +02:00
getpath.c Issue #10914: fix bogus memory management in Modules/getpath.c, leading to a possible crash when calling Py_SetPath() 2011-03-17 23:34:33 +01:00
grpmodule.c Merged revisions 87238 via svnmerge from 2010-12-14 16:24:18 +00:00
hashlib.h
itertoolsmodule.c Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 2012-08-15 23:18:25 +02:00
ld_so_aix.in #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou. 2011-02-15 15:44:51 +00:00
ld_so_beos
main.c Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X. 2012-08-22 14:24:14 +02:00
makesetup
makexp_aix
mathmodule.c fix indentation 2012-03-13 16:13:09 -05:00
md5module.c Issue #9566: use Py_ssize_t instead of int 2011-01-04 12:59:15 +00:00
mmapmodule.c #15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2) 2012-09-10 22:58:07 +02:00
nismodule.c Decode NIS data to fs encoding, using the surrogate error handler. 2010-08-19 09:11:51 +00:00
operator.c No declarations in the middle of a block (fixes compile under Windows) 2010-10-31 21:03:01 +00:00
ossaudiodev.c Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas 2011-09-29 19:46:37 +02:00
parsermodule.c Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 2012-08-15 23:18:25 +02:00
posixmodule.c Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
pwdmodule.c Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 2010-11-30 09:30:54 +00:00
pyexpat.c Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD() 2012-09-24 13:17:08 +02:00
python.c Issue #3367: NULL-terminate argv[] copies to prevent an invalid access 2012-03-26 15:05:22 +02:00
readline.c Issue #10350: Read and save errno before calling a function which might overwrite it. 2011-12-16 12:28:32 +01:00
resource.c Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 2010-11-30 09:30:54 +00:00
rotatingtree.c
rotatingtree.h
selectmodule.c Closes #15395: memory leaks in selectmodule.c 2012-07-19 21:31:26 +02:00
sha1module.c Issue #9566: use Py_ssize_t instead of int 2011-01-04 12:59:15 +00:00
sha256module.c Issue #9566: use Py_ssize_t instead of int 2011-01-04 12:59:15 +00:00
sha512module.c Issue #9566: use Py_ssize_t instead of int 2011-01-04 12:59:15 +00:00
signalmodule.c Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fix 2012-02-02 20:31:42 +01:00
socketmodule.c Modules/socketmodule.c: netdb_lock: define static. 2012-08-14 17:29:04 +02:00
socketmodule.h Issue #10272: The ssl module now raises socket.timeout instead of a generic 2010-12-03 19:59:41 +00:00
spwdmodule.c Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 2010-11-30 09:30:54 +00:00
sre.h keep the buffer object around while we're using it (closes #14212) 2012-03-07 14:50:25 -06:00
sre_constants.h
symtablemodule.c Remove redundant includes of headers that are already included by Python.h. 2010-11-30 09:41:01 +00:00
syslogmodule.c Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL 2010-12-08 23:31:48 +00:00
termios.c Issue #8078: Add constants for higher baud rates in the termios module. 2010-11-20 20:03:08 +00:00
testcapi_long.h
timemodule.c Issue #14125: backport refleak fix (d4adbf908983). 2012-02-27 17:34:17 +01:00
tkappinit.c
tkinter.h
unicodedata.c #13379: update Unicode version in unicodedata docstrings and comments. 2011-11-10 09:36:34 +02:00
unicodedata_db.h Upgrade to Unicode 6.0.0. 2010-10-11 22:42:28 +00:00
unicodename_db.h Upgrade to Unicode 6.0.0. 2010-10-11 22:42:28 +00:00
xxlimited.c Issue #11135: Remove redundant doc field from PyType_Spec. 2011-02-11 20:47:49 +00:00
xxmodule.c
xxsubtype.c
zipimport.c Closes #15897: zipimport.c doesn't check return value of fseek(). Typo 2012-10-03 03:16:42 +02:00
zlibmodule.c Issue #12839: Fix crash in zlib module due to version mismatch. 2011-08-28 11:26:46 +02:00