summaryrefslogtreecommitdiff
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-04 17:27:49 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-09-04 17:27:49 +0200
commit6fb5bae252b90b81dff19f572fe40a9051e5e51d (patch)
tree256dce9ad200730db5ba00a46a0c234bfbb09341 /Python/pylifecycle.c
parent17227a733439731d73d14a17df6222bbde8b196f (diff)
downloadcpython-git-6fb5bae252b90b81dff19f572fe40a9051e5e51d.tar.gz
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.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions