diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-01-24 17:44:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 17:44:42 (GMT) |
commit | 80e1def9ded2a1d017410394e50c88aa39135029 (patch) | |
tree | 95d14d7068d7e3d808f1bd7d2e07b5c966ec1505 /Doc/whatsnew | |
parent | c144d9363107b50bcb0ccd01e7202e26a40c21f0 (diff) | |
download | cpython-80e1def9ded2a1d017410394e50c88aa39135029.zip cpython-80e1def9ded2a1d017410394e50c88aa39135029.tar.gz cpython-80e1def9ded2a1d017410394e50c88aa39135029.tar.bz2 |
bpo-45711: move whatsnew entries which are incorrectly listed under New Features (GH-30849)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index ad421b1..4328ee6 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -648,6 +648,17 @@ Build Changes C API Changes ============= +* :c:func:`PyErr_SetExcInfo()` no longer uses the ``type`` and ``traceback`` + arguments, the interpreter now derives those values from the exception + instance (the ``value`` argument). The function still steals references + of all three arguments. + (Contributed by Irit Katriel in :issue:`45711`.) + +* :c:func:`PyErr_GetExcInfo()` now derives the ``type`` and ``traceback`` + fields of the result from the exception instance (the ``value`` field). + (Contributed by Irit Katriel in :issue:`45711`.) + + New Features ------------ @@ -662,16 +673,6 @@ New Features suspend and resume tracing and profiling. (Contributed by Victor Stinner in :issue:`43760`.) -* :c:func:`PyErr_SetExcInfo()` no longer uses the ``type`` and ``traceback`` - arguments, the interpreter now derives those values from the exception - instance (the ``value`` argument). The function still steals references - of all three arguments. - (Contributed by Irit Katriel in :issue:`45711`.) - -* :c:func:`PyErr_GetExcInfo()` now derives the ``type`` and ``traceback`` - fields of the result from the exception instance (the ``value`` field). - (Contributed by Irit Katriel in :issue:`45711`.) - * Added the :c:data:`Py_Version` constant which bears the same value as :c:macro:`PY_VERSION_HEX`. (Contributed by Gabriele N. Tornetta in :issue:`43931`.) |