[Python-bugs-list] [ python-Bugs-827856 ] object.h misdocuments PyDict_SetItemString

SourceForge.net noreply at sourceforge.net
Tue Oct 21 18:47:41 EDT 2003


Bugs item #827856, was opened at 2003-10-21 14:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=827856&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Chapman (glchapman)
Assigned to: Nobody/Anonymous (nobody)
Summary: object.h misdocuments PyDict_SetItemString

Initial Comment:
I just happened to notice the following in the comment 
titled "Reference Counts" toward the end of object.h 
(2.3.2):

Functions that 'store' objects such as PyTuple_SetItem
() and PyDict_SetItemString()
don't increment the reference count of the object

I believe PyDict_SetItemString does increment the 
refcount.


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

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



More information about the Python-bugs-list mailing list