Issue #20500: Note other public APIs with the new assertion · pythoncapi/cpython@c0bc0b4 · GitHub
Skip to content

Commit c0bc0b4

Browse files
committed
Issue python#20500: Note other public APIs with the new assertion
1 parent 0c3949c commit c0bc0b4

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

Doc/c-api/object.rst

Lines changed: 5 additions & 2 deletions

Doc/c-api/veryhigh.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ the same library that the Python runtime is using.
322322
it causes an exception to immediately be thrown; this is used for the
323323
:meth:`~generator.throw` methods of generator objects.
324324
325+
.. versionchanged:: 3.4
326+
This function now includes a debug assertion to help ensure that it
327+
does not silently discard an active exception.
328+
325329
326330
.. c:function:: int PyEval_MergeCompilerFlags(PyCompilerFlags *cf)
327331

Doc/whatsnew/3.4.rst

Lines changed: 9 additions & 5 deletions

0 commit comments

Comments
 (0)