diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-24 21:17:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 21:17:33 (GMT) |
commit | 3a803bcaacece466e9c137fb4a3c6389780377d6 (patch) | |
tree | 5fdf966acc242cd18f693468b0102d7299d9d2ec /Doc/whatsnew/3.12.rst | |
parent | 0da728387c99fe6c127b070f2d250dc5bdd62ee5 (diff) | |
download | cpython-3a803bcaacece466e9c137fb4a3c6389780377d6.zip cpython-3a803bcaacece466e9c137fb4a3c6389780377d6.tar.gz cpython-3a803bcaacece466e9c137fb4a3c6389780377d6.tar.bz2 |
Revert "gh-98724: Fix Py_CLEAR() macro side effects" (#99737)
Revert "gh-98724: Fix Py_CLEAR() macro side effects (#99100)"
This reverts commit c03e05c2e72f3ea5e797389e7d1042eef85ad37a.
Diffstat (limited to 'Doc/whatsnew/3.12.rst')
-rw-r--r-- | Doc/whatsnew/3.12.rst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index a9b69c2..dff4de6 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -822,11 +822,6 @@ Porting to Python 3.12 :class:`bytes` type is accepted for bytes strings. (Contributed by Victor Stinner in :gh:`98393`.) -* The :c:macro:`Py_CLEAR`, :c:macro:`Py_SETREF` and :c:macro:`Py_XSETREF` - macros now only evaluate their argument once. If the argument has side - effects, these side effects are no longer duplicated. - (Contributed by Victor Stinner in :gh:`98724`.) - Deprecated ---------- |