Skip to content

gh-98608: Stop Treating All Errors from _Py_NewInterpreterFromConfig() as Fatal - #102657

Merged
ericsnowcurrently merged 2 commits into
python:mainfrom
ericsnowcurrently:nonfatal-new-interpreter-errors
Mar 21, 2023
Merged

ericsnowcurrently merged 2 commits into
python:mainfrom
ericsnowcurrently:nonfatal-new-interpreter-errors

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented Mar 13, 2023 •

Copy link
Copy Markdown
Member

Prior to this change, errors in _Py_NewInterpreterFromConfig() were always fatal. Instead, callers should be able to handle such errors and keep going. That's what this change supports. Note that the existing [fatal] behavior of the public Py_NewInterpreter() is preserved.

@ericsnowcurrently
ericsnowcurrently merged commit 3bb4756 into python:main Mar 21, 2023
@ericsnowcurrently
ericsnowcurrently deleted the nonfatal-new-interpreter-errors branch March 21, 2023 16:49
Fidget-Spinner pushed a commit to Fidget-Spinner/cpython that referenced this pull request Mar 27, 2023
…onfig() as Fatal (pythongh-102657)

Prior to this change, errors in _Py_NewInterpreterFromConfig() were always fatal.  Instead, callers should be able to handle such errors and keep going.  That's what this change supports.  (This was an oversight in the original implementation of _Py_NewInterpreterFromConfig().)  Note that the existing [fatal] behavior of the public Py_NewInterpreter() is preserved.

python#98608
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
…onfig() as Fatal (pythongh-102657)

Prior to this change, errors in _Py_NewInterpreterFromConfig() were always fatal.  Instead, callers should be able to handle such errors and keep going.  That's what this change supports.  (This was an oversight in the original implementation of _Py_NewInterpreterFromConfig().)  Note that the existing [fatal] behavior of the public Py_NewInterpreter() is preserved.

python#98608
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants