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
..
Python-ast.c
_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
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
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
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
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
pystrcmp.c
pystrtod.c
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
thread.c
thread_foobar.h
thread_nt.h
thread_pthread.h
traceback.c Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. 2015-06-21 15:59:46 +03:00