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
commit204af68be0e95f6df6d4a70f128bbb67c9310845 (patch)
tree6af407f3e9cd4b21d2ce2e96e987aba2a3d6fe4f /Python/pylifecycle.c
parentdb6385c259b69ba95975b054e8bdb7614e8b0085 (diff)
downloadcpython-204af68be0e95f6df6d4a70f128bbb67c9310845.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