Issue #20500: Note other public APIs with the new assertion

This commit is contained in:
Nick Coghlan 2014-02-09 12:00:01 +10:00
parent 0c3949c963
commit c0bc0b46bb
3 changed files with 18 additions and 7 deletions

View file

@ -149,6 +149,9 @@ Object Protocol
representation on success, *NULL* on failure. This is the equivalent of the
Python expression ``repr(o)``. Called by the :func:`repr` built-in function.
.. versionchanged:: 3.4
This function now includes a debug assertion to help ensure that it
does not silently discard an active exception.
.. c:function:: PyObject* PyObject_ASCII(PyObject *o)
@ -171,8 +174,8 @@ Object Protocol
and, therefore, by the :func:`print` function.
.. versionchanged:: 3.4
This function now includes a debug assertion that ensures it does not
silently discard an active exception.
This function now includes a debug assertion to help ensure that it
does not silently discard an active exception.
.. c:function:: PyObject* PyObject_Bytes(PyObject *o)