Skip to content

bpo-38631: Avoid Py_FatalError() in readline #16998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2019
Merged

bpo-38631: Avoid Py_FatalError() in readline #16998

merged 1 commit into from
Oct 30, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 30, 2019

readline now calls PyErr_NoMemory() rather than Py_FatalError() on
memory allocation failure, when importing the module.

https://bugs.python.org/issue38631

readline now calls PyErr_NoMemory() rather than Py_FatalError() on
memory allocation failure, when importing the module.
@vstinner vstinner merged commit 1d8da61 into python:master Oct 30, 2019
@vstinner vstinner deleted the avoid_fatal_error branch October 30, 2019 15:39
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
readline now calls PyErr_NoMemory() rather than Py_FatalError() on
memory allocation failure, when importing the module.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
readline now calls PyErr_NoMemory() rather than Py_FatalError() on
memory allocation failure, when importing the module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants