[Python-bugs-list] [ python-Bugs-435066 ] PyObject_ClearWeakRefs misdocumented

noreply@sourceforge.net noreply@sourceforge.net
Fri, 22 Jun 2001 10:20:50 -0700


Bugs item #435066, was updated on 2001-06-21 02:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=435066&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michael Abbott (araneidae)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: PyObject_ClearWeakRefs misdocumented

Initial Comment:
In section 3.3.3 of release 2.1 of the "Python Library 
Reference" we are advised to write the following code:

    ...
    if(!PyObject_ClearWeakRefs(op)) return;
    ...

However, this routine is now declared to return void, 
so this is evidently out of date.

Also, PyObject_ClearWeakRefs does not appear in 
release 2.1 of the "Python/C API Reference Manual" 
(nor do many other routines, alas!)


----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-06-22 10:20

Message:
Logged In: YES 
user_id=3066

Fixed in Doc/lib/libweakref.tex revisions 1.9 and 1.7.2.2.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=435066&group_id=5470