cpython/Python
Victor Stinner 6fb5bae252 Fix race condition in create_stdio()
Issue #24891: Fix a race condition at Python startup if the file descriptor
of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
to None if the creation of the object failed, instead of raising an OSError
exception. Initial patch written by Marco Paolini.
2015-09-04 17:27:49 +02:00
..
_warnings.c merge 3.3 (#24096) 2015-05-03 11:28:46 -04:00
asdl.c Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". 2013-10-12 22:52:43 +02:00
ast.c revert lineno and col_offset changes from #16795 (closes #21295) 2015-02-02 10:51:20 -05:00
bltinmodule.c Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 2015-02-03 01:21:08 +02:00
ceval.c Added the const qualifier for char* argument of Py_EnterRecursiveCall(). 2015-06-21 16:26:28 +03:00
ceval_gil.h
codecs.c Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 2015-05-30 17:45:22 +03:00
compile.c Fixed indentation of Python examples in C comments. 2015-06-11 00:06:39 +03:00
condvar.h Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument 2014-05-08 10:59:52 +00:00
dtoa.c Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. 2013-11-26 16:19:13 +00:00
dup2.c
dynamic_annotations.c
dynload_aix.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_shlib.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
dynload_stub.c
dynload_win.c
errors.c Issue #22977: Fixed formatting Windows error messages on Wine. 2015-04-02 09:47:27 +03:00
fileutils.c Fixes incorrect use of GetLastError where errno should be used. 2015-03-14 11:38:27 -07:00
formatter_unicode.c Reverted 16efa8d27e4c after discussion with Eric. 2014-04-15 13:52:21 +01:00
frozen.c
frozenmain.c avoid reading unallocated memory when argc == 0 (closes #22633) 2015-02-14 15:16:32 -05:00
future.c Close #11619: The parser and the import machinery do not encode Unicode 2013-08-26 22:28:21 +02:00
getargs.c Fixed error message for the "u#" format code. 2015-04-19 21:11:30 +03:00
getcompiler.c
getcopyright.c merge 3.2 2014-12-31 18:10:13 -06:00
getopt.c
getplatform.c
getversion.c
graminit.c
import.c Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 2015-05-30 17:45:22 +03:00
importdl.c
importdl.h
importlib.h revert lineno and col_offset changes from #16795 (closes #21295) 2015-02-02 10:51:20 -05:00
makeopcodetargets.py
marshal.c Fixed memory leak in marshal. 2015-01-28 17:10:48 +02:00
modsupport.c Issue #20024: Py_BuildValue() now saves/restores the current exception before 2014-01-21 20:52:17 +01:00
mysnprintf.c
mystrtoul.c Issue #1772673: The type of char* arguments now changed to const char*. 2013-10-19 21:03:34 +03:00
opcode_targets.h
peephole.c Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer 2015-02-16 13:28:22 +02:00
pyarena.c
pyctype.c
pyfpe.c
pyhash.c Issue #20162: Fix an alignment issue in the siphash24() hash function which 2014-02-01 03:38:56 +01:00
pymath.c Issue 24366: Indent code (thanks to li4ick for reporting). 2015-06-02 18:53:46 -04:00
pystate.c revert tstate_delete_common, since it's pretty much wrong 2014-06-17 00:34:46 -07:00
pystrcmp.c
pystrtod.c Removed duplicated words in in comments and docs. 2014-12-01 18:28:43 +02:00
Python-ast.c bump Python-ast.c 2014-02-19 23:05:26 -05:00
pythonrun.c Fix race condition in create_stdio() 2015-09-04 17:27:49 +02:00
pytime.c Issue #20320: select.select() and select.kqueue.control() now round the timeout 2014-02-17 00:02:43 +01:00
random.c Issue #22585: os.urandom() now releases the GIL when the getentropy() is used 2015-03-30 11:18:30 +02:00
sigcheck.c
strdup.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
structmember.c
symtable.c remove dead *-import checking code (closes #24049) 2015-04-24 12:02:29 -04:00
sysmodule.c Issue #23181: More "codepoint" -> "code point". 2015-01-18 11:28:37 +02:00
thread.c Removed duplicated words in in comments and docs. 2014-12-01 18:28:43 +02:00
thread_foobar.h
thread_nt.h Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument 2014-05-08 10:59:52 +00:00
thread_pthread.h Issue #19787: PyThread_set_key_value() now always set the value 2013-12-13 11:08:56 +01:00
traceback.c Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. 2015-06-21 15:59:46 +03:00