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.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Great work! It is worth adding a news entry.
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 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6, 3.7. |
|
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