gh-151126: Fix missing memory errors in _interpchannelsmodule.c#151239
gh-151126: Fix missing memory errors in _interpchannelsmodule.c#151239sobolevn merged 3 commits into
_interpchannelsmodule.c#151239Conversation
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM. 👍
Mixed approach is used in this file -- some function don't raise an exception, but return an error code (negative, not -1) which then will be converted to exception in handle_channel_error(). Changes in this PR look good, but please check all other returns returning NULL or -1. There may be other bugs in this file.
Sorry, something went wrong.
|
Sure! I will check other things as well and report them in a separate issue. Thanks a lot for the review! |
Sorry, something went wrong.
9fd1a12
into
python:main
Jun 10, 2026
|
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
Sorry, something went wrong.
|
Sorry, @sobolevn, I could not cleanly backport this to |
Sorry, something went wrong.
PyErr_NoMemory()call after failing memory allocation #151126