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 (2)
Priority: normal Keywords

Created on 2004-11-14 05:56 by fullsail, last changed 2004-11-18 06:50 by rhettinger.

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) Date: 2004-11-18 06:50
Logged In: YES 
user_id=80475

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