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
bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes #11015
bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes #11015
Conversation
Set MemoryError when appropriate, add missing failure checks, and fix some potential leaks.
Remove some useless indentation. Add a missing check introduced in a recent commit (468a15a).
@serhiy-storchaka Thank you for the review. |
Thanks @ZackerySpytz for the PR, and @serhiy-storchaka for merging it |
Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to |
Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to |
Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to |
@serhiy-storchaka I'll create the backport PRs. |
…es. (pythonGH-11015) (cherry picked from commit 4c49da0)
GH-11020 is a backport of this pull request to the 3.7 branch. |
|
…ug fixes. (pythonGH-11015) (pythonGH-11020) (cherry picked from commit 4c49da0). (cherry picked from commit 602d307) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Set MemoryError when appropriate, add missing failure checks,
and fix some potential leaks.
https://bugs.python.org/issue35436