Message122517
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. |
|
Date |
User |
Action |
Args |
2010-11-27 10:58:34 | georg.brandl | set | recipients:
+ georg.brandl, rhettinger, terry.reedy, eric.smith, giampaolo.rodola, eric.araujo, eli.bendersky, xuanji |
2010-11-27 10:58:34 | georg.brandl | set | messageid: <1290855514.84.0.186940913551.issue10516@psf.upfronthosting.co.za> |
2010-11-27 10:58:31 | georg.brandl | link | issue10516 messages |
2010-11-27 10:58:31 | georg.brandl | create | |
|