Author hniksic
Recipients hniksic, kristjan.jonsson, pitrou, rhettinger
Date 2008-10-23.11:12:24
SpamBayes Score 0.00312327
Marked as misclassified No
Message-id <1224760346.02.0.410474908988.issue4174@psf.upfronthosting.co.za>
In-reply-to
Content
Note that the item retrieved by PyList_GET_ITEM must be increffed before
being passed to the function.  Otherwise mutating the list can remove
the item from the list and destroy the underlying object, in which case
the current maxitem can refer to a freed object.  This pitfall is
described in http://docs.python.org/extending/extending.html#thin-ice in
some detail.
History
Date User Action Args
2008-10-23 11:12:26hniksicsetrecipients: + hniksic, rhettinger, pitrou, kristjan.jonsson
2008-10-23 11:12:26hniksicsetmessageid: <1224760346.02.0.410474908988.issue4174@psf.upfronthosting.co.za>
2008-10-23 11:12:25hniksiclinkissue4174 messages
2008-10-23 11:12:24hniksiccreate