This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients eli.bendersky, eric.araujo, eric.smith, georg.brandl, giampaolo.rodola, rhettinger, terry.reedy, xuanji
Date 2010-11-27.10:58:31
SpamBayes Score 4.1291292e-05
Marked as misclassified No
Message-id <1290855514.84.0.186940913551.issue10516@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, list_clear should be called, but no, it cannot be used directly because a method needs a PyObject* return value.  So a wrapper method is needed that looks like listappend() does for list.append(). list_copy() will just look like list_slice() with the index fiddling removed.
History
Date User Action Args
2010-11-27 10:58:34georg.brandlsetrecipients: + georg.brandl, rhettinger, terry.reedy, eric.smith, giampaolo.rodola, eric.araujo, eli.bendersky, xuanji
2010-11-27 10:58:34georg.brandlsetmessageid: <1290855514.84.0.186940913551.issue10516@psf.upfronthosting.co.za>
2010-11-27 10:58:31georg.brandllinkissue10516 messages
2010-11-27 10:58:31georg.brandlcreate