This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Typo about PyErr_WriteUnraisable()
Type: Stage:
Components: Documentation Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: fullsail, rhettinger
Priority: normal Keywords:

Created on 2004-11-14 05:56 by fullsail, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg23123 - (view) Author: Raise L. Sail (fullsail) Date: 2004-11-14 05:56
In "Extending and Embedding the Python Interpreter"
Document,  at Section   
2.2.1 Finalization and De-allocation, its example code
include one call PyErr_WriteUnraisable() without
argument, but in "Python/C API Reference Manual",
Section 4 " 
4. Exception Handling", it have prototype:

void PyErr_WriteUnraisable(PyObject *obj)

Oh, this look more like a bug. 
May be, in that example, we should call it with NULL? I
do not know.

Goodluck, Python
msg23124 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-11-18 06:50
Logged In: YES 
user_id=80475

Fixed.
Thanks for the report.
History
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41170
2004-11-14 05:56:43fullsailcreate