[Python-bugs-list] [ python-Bugs-709733 ] PyWeakref_GetObject incorrectly documented

SourceForge.net noreply@sourceforge.net
Fri, 28 Mar 2003 10:20:55 -0800


Bugs item #709733, was opened at 2003-03-25 14:58
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=709733&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michael Stone (mbrierst)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyWeakref_GetObject incorrectly documented

Initial Comment:

It returns None, not NULL when the object has gone away.
I got burned by this.
A quick perusal of the code shows it to be true.
Doc patch attached.


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

>Comment By: Ka-Ping Yee (ping)
Date: 2003-03-28 10:20

Message:
Logged In: YES 
user_id=45338

Ok, fixed.

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

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