diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-01-10 03:32:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-10 03:32:53 (GMT) |
commit | 2fcdc8488c32d18f4567f797094068a994777f16 (patch) | |
tree | 822531c30c64b7809df5a1fbc97a79c29e46e8aa /Misc | |
parent | c1417487e98e270d614965ed78ff9439044b65a6 (diff) | |
download | cpython-2fcdc8488c32d18f4567f797094068a994777f16.zip cpython-2fcdc8488c32d18f4567f797094068a994777f16.tar.gz cpython-2fcdc8488c32d18f4567f797094068a994777f16.tar.bz2 |
gh-126862: Use `Py_ssize_t` instead of `int` when processing the number of super-classes (#127523)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core_and_Builtins/2024-12-02-18-15-37.gh-issue-126862.fdIK7T.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-12-02-18-15-37.gh-issue-126862.fdIK7T.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-12-02-18-15-37.gh-issue-126862.fdIK7T.rst new file mode 100644 index 0000000..d930c29 --- /dev/null +++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-12-02-18-15-37.gh-issue-126862.fdIK7T.rst @@ -0,0 +1,2 @@ +Fix a possible overflow when a class inherits from an absurd number of +super-classes. Reported by Valery Fedorenko. Patch by Bénédikt Tran. |