A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/039617.html below:

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

[Python-Dev] PyList API missing PyList_Pop() and PyList_Delete [Python-Dev] PyList API missing PyList_Pop() and PyList_DeleteMichael Hudson mwh at python.net
Mon Oct 27 07:45:31 EST 2003
"Raymond Hettinger" <python at rcn.com> writes:

>>     PyList_SetSlice(lst, n-1, n, NULL);
>
> There's the new piece of information.  I didn't know that the final
> argument could be NULL and creating/destroying and empty list for the
> arg was unpleasant.  I'll add that info to the API docs.

"del<wotsit> thing" is punned into "set<wotsit> thing NULL" at a
pretty low level, and fairly consistently (hope that made sense...).

Cheers,
mwh

-- 
  MAN:  How can I tell that the past isn't a fiction designed to
        account for the discrepancy between my immediate physical
        sensations and my state of mind?
                   -- The Hitch-Hikers Guide to the Galaxy, Episode 12

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4