| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @JelleZijlstra for commit b8ad59e 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
Thanks @JelleZijlstra for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry, something went wrong.
|
Sorry, @JelleZijlstra, I could not cleanly backport this to 3.11 due to a conflict. |
Sorry, something went wrong.
|
Sorry @JelleZijlstra, I had trouble checking out the 3.10 backport branch. |
Sorry, something went wrong.
|
Working on the backports |
Sorry, something went wrong.
|
GH-102268 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…ing (pythonGH-102265) Followup from pythonGH-101769.. (cherry picked from commit d71edbd) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
GH-102269 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
…ing (pythonGH-102265) Followup from pythonGH-101769.. (cherry picked from commit d71edbd) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
| PyObject *u = unicode_new_empty(); | ||
| if (u == NULL) | ||
| if (u == NULL) { | ||
| Py_DECREF(iter); |
There was a problem hiding this comment.
Shouldn't this be Py_XDECREF? There is no null check above for iter.
Sorry, something went wrong.
There was a problem hiding this comment.
Good point. But shouldn’t it be a null check and return above, if iter is null I think it would crash in the BuildValue before we even get here.
Sorry, something went wrong.
There was a problem hiding this comment.
Py_BuildValue deals with NULL internally; if one of the args is NULL it itself returns NULL, propagating the exception. So changing to XDECREF here should be enough.
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Followup from #101769.