diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-06-05 13:35:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-05 13:35:54 (GMT) |
commit | e11d4a18e15e79b34473389c44ec1f54dda3a508 (patch) | |
tree | 9b00535ba8bafc351159d167d9920aa1e59e66d7 /Python/Python-tokenize.c | |
parent | 285c69ea38f77949e7b8590e6d14bf23ad352561 (diff) | |
download | cpython-e11d4a18e15e79b34473389c44ec1f54dda3a508.zip cpython-e11d4a18e15e79b34473389c44ec1f54dda3a508.tar.gz cpython-e11d4a18e15e79b34473389c44ec1f54dda3a508.tar.bz2 |
[3.14] gh-134989: Fix Py_RETURN_NONE in the limited C API (GH-135165) (#135178)
gh-134989: Fix Py_RETURN_NONE in the limited C API (GH-135165)
Fix Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE macros in the
limited C API 3.11 and older:
Don't treat Py_None, Py_True and Py_False as immortal.
(cherry picked from commit 9258f3da9175134d03f2c8c7c7eed223802ad945)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions