diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-02-17 10:51:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 10:51:08 (GMT) |
commit | cd80f430daa7dfe7feeb431ed34f88db5f64aa30 (patch) | |
tree | 0f9872a24b851c515b3ab1853bb7cd834f7cee67 /Misc/NEWS.d | |
parent | 801bb0b5035f8eeafe389dc082c02dfafaa07f6a (diff) | |
download | cpython-cd80f430daa7dfe7feeb431ed34f88db5f64aa30.zip cpython-cd80f430daa7dfe7feeb431ed34f88db5f64aa30.tar.gz cpython-cd80f430daa7dfe7feeb431ed34f88db5f64aa30.tar.bz2 |
bpo-40170: Always define PyExceptionClass_Name() as a function (GH-24553)
Remove macro variant of PyExceptionClass_Name().
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/C API/2021-02-16-22-29-39.bpo-40170.ahHmOo.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2021-02-16-22-29-39.bpo-40170.ahHmOo.rst b/Misc/NEWS.d/next/C API/2021-02-16-22-29-39.bpo-40170.ahHmOo.rst new file mode 100644 index 0000000..348fcce --- /dev/null +++ b/Misc/NEWS.d/next/C API/2021-02-16-22-29-39.bpo-40170.ahHmOo.rst @@ -0,0 +1,3 @@ +:c:func:`PyExceptionClass_Name` is now always declared as a function, in +order to hide implementation details. The macro accessed +:c:member:`PyTypeObject.tp_name` directly. Patch by Erlend E. Aasland. |