C API missing PyList_Remove() ...

Darran Edmundson dedmundson at bigfoot.com
Fri Jun 15 02:07:14 EDT 2001


Why has the C equivalent of "list.remove(item)" been
left out of the list of exported functions?  Checking the
source, listobject.h exports PyList_Append().  Hovever
listobject.c has no function PyList_Remove(), instead just
the unexported list_remove() function.  This is obviously
"by design", but why?

Cheers,
Darran.






More information about the Python-list mailing list