6fb5bae252
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. |
||
---|---|---|
.. | ||
Python-ast.c | ||
_warnings.c | ||
asdl.c | ||
ast.c | ||
bltinmodule.c | ||
ceval.c | ||
ceval_gil.h | ||
codecs.c | ||
compile.c | ||
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 | ||
fileutils.c | ||
formatter_unicode.c | ||
frozen.c | ||
frozenmain.c | ||
future.c | ||
getargs.c | ||
getcompiler.c | ||
getcopyright.c | ||
getopt.c | ||
getplatform.c | ||
getversion.c | ||
graminit.c | ||
import.c | ||
importdl.c | ||
importdl.h | ||
importlib.h | ||
makeopcodetargets.py | ||
marshal.c | ||
modsupport.c | ||
mysnprintf.c | ||
mystrtoul.c | ||
opcode_targets.h | ||
peephole.c | ||
pyarena.c | ||
pyctype.c | ||
pyfpe.c | ||
pyhash.c | ||
pymath.c | ||
pystate.c | ||
pystrcmp.c | ||
pystrtod.c | ||
pythonrun.c | ||
pytime.c | ||
random.c | ||
sigcheck.c | ||
strdup.c | ||
structmember.c | ||
symtable.c | ||
sysmodule.c | ||
thread.c | ||
thread_foobar.h | ||
thread_nt.h | ||
thread_pthread.h | ||
traceback.c |