| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ythonGH-99288) The Py_CLEAR(), Py_SETREF() and Py_XSETREF() macros now only evaluate their argument once. If an argument has side effects, these side effects are no longer duplicated. Add test_py_clear() and test_py_setref() unit tests to _testcapi. (cherry picked from commit 1082890) Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit c03e05c)
There was a problem hiding this comment.
LGTM, good bot.
Sorry, something went wrong.
|
Sorry, I can't merge this PR. Reason: 3 of 6 required status checks are expected.. |
Sorry, something went wrong.
|
I closed the backport for now. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The Py_CLEAR(), Py_SETREF() and Py_XSETREF() macros now only evaluate
their argument once. If an argument has side effects, these side
effects are no longer duplicated.
Add test_py_clear() and test_py_setref() unit tests to _testcapi.
(cherry picked from commit 1082890)
Co-authored-by: Victor Stinner vstinner@python.org
(cherry picked from commit c03e05c)