summaryrefslogtreecommitdiff
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-06-15 11:09:43 +0300
committerGitHub <noreply@github.com>2018-06-15 11:09:43 +0300
commitceeef10cdbc08561f9954e13bbed1cb2299a8c72 (patch)
tree8b4678e015343dc2f052c672d3a4be00ef313e0f /Doc/whatsnew
parent08f127a3cad8ce4eb281d30d9488c91b0fd7cfed (diff)
downloadcpython-git-ceeef10cdbc08561f9954e13bbed1cb2299a8c72.tar.gz
bpo-33818: PyExceptionClass_Name() will now return "const char *". (GH-7581)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 9ae52c241f..10fa182fae 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -115,9 +115,13 @@ Optimizations
first introduced in Python 3.4. It offers better performance and smaller
size compared to Protocol 3 available since Python 3.0.
+
Build and C API Changes
=======================
+* The result of :c:func:`PyExceptionClass_Name` is now of type
+ ``const char *`` rather of ``char *``.
+ (Contributed by Serhiy Storchaka in :issue:`33818`.)
Deprecated