summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-18 00:22:14 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-18 00:22:14 +0100
commitb8d0bcab60af86bb0d982ef0483eec7930a0a9d0 (patch)
treeef47b3ed67ba75967e5b95289773bcbc8ecfb8cc /Python/errors.c
parente5cb7bc5a80a77c85bab243ae01238d5367e6b8d (diff)
downloadcpython-b8d0bcab60af86bb0d982ef0483eec7930a0a9d0.tar.gz
Issue #23694: Enhance _Py_open(), it now raises exceptions
* _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions