[Python-Dev] PyList API missing PyList_Pop() and PyList_Delete

Guido van Rossum guido at python.org
Thu Oct 23 18:42:50 EDT 2003

> Was there a reason for leaving this out of the API

It is much newer than that set of API functions, and I guess nobody
thought about it.

> or should it be added?

Unclear -- how often does one need this?  Can't you call it using one
of the higher-level method-calling helpers?

> Is the right way to simulate a pop something like this:

No time to check, it should do the same as listpop().

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list