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
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
dup2.c
dynamic_annotations.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_shlib.c
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
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
mysnprintf.c
mystrtoul.c
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
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
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
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
traceback.c Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. 2015-06-21 15:59:46 +03:00