bpo-45711: move whatsnew entries which are incorrectly listed under N… · python/cpython@80e1def

GitHub

Original file line numberDiff line numberDiff line change@@ -648,6 +648,17 @@ Build Changes

648648C API Changes

649649=============

650650651+* :c:func:`PyErr_SetExcInfo()` no longer uses the ``type`` and ``traceback``

652+ arguments, the interpreter now derives those values from the exception

653+ instance (the ``value`` argument). The function still steals references

654+ of all three arguments.

655+ (Contributed by Irit Katriel in :issue:`45711`.)

656+657+* :c:func:`PyErr_GetExcInfo()` now derives the ``type`` and ``traceback``

658+ fields of the result from the exception instance (the ``value`` field).

659+ (Contributed by Irit Katriel in :issue:`45711`.)

660+661+651662New Features

652663------------

653664@@ -662,16 +673,6 @@ New Features

662673 suspend and resume tracing and profiling.

663674 (Contributed by Victor Stinner in :issue:`43760`.)

664675665-* :c:func:`PyErr_SetExcInfo()` no longer uses the ``type`` and ``traceback``

666- arguments, the interpreter now derives those values from the exception

667- instance (the ``value`` argument). The function still steals references

668- of all three arguments.

669- (Contributed by Irit Katriel in :issue:`45711`.)

670-671-* :c:func:`PyErr_GetExcInfo()` now derives the ``type`` and ``traceback``

672- fields of the result from the exception instance (the ``value`` field).

673- (Contributed by Irit Katriel in :issue:`45711`.)

674-675676* Added the :c:data:`Py_Version` constant which bears the same value as

676677:c:macro:`PY_VERSION_HEX`.

677678 (Contributed by Gabriele N. Tornetta in :issue:`43931`.)