Skip to content

Commit 4602710

Browse files
committed
wrap news text
1 parent 92835f0 commit 4602710

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
The three values of ``exc_info`` are now always consistent with each other. In particular, the ``type`` and ``traceback`` fields are now derived from the exception instance. This impacts the return values of :func:`sys.exc_info` and :c:func:`PyErr_GetExcInfo()` if the exception instance is modified while the exception is handled, as well as :c:func:`PyErr_SetExcInfo()`, which now ignores the ``type`` and ``traceback`` arguments provided to it.
1+
The three values of ``exc_info`` are now always consistent with each other.
2+
In particular, the ``type`` and ``traceback`` fields are now derived from
3+
the exception instance. This impacts the return values of :func:`sys.exc_info`
4+
and :c:func:`PyErr_GetExcInfo()` if the exception instance is modified while
5+
the exception is handled, as well as :c:func:`PyErr_SetExcInfo()`, which now
6+
ignores the ``type`` and ``traceback`` arguments provided to it.

0 commit comments

Comments
 (0)