[Python-Dev] Where are the list and array.array implementations in CPython source? (original) (raw)

Jonathan Goble jcgoble3 at gmail.com
Mon Sep 5 22:16:39 EDT 2016


On Mon, Sep 5, 2016 at 8:10 PM, Martin Panter <vadmium+py at gmail.com> wrote:

Built-in objects are usually in the Objects/ directory, with a corresponding include file in the Include/ directory: https://hg.python.org/cpython/file/default/Objects/listobject.c https://hg.python.org/cpython/file/default/Include/listobject.h

Modules implemented in C are usually in the Modules/ directory: https://hg.python.org/cpython/file/default/Modules/arraymodule.c

On Mon, Sep 5, 2016 at 8:10 PM, Benjamin Peterson <benjamin at python.org> wrote:

Include/listobject.h Objects/listobject.c Modules/arraymodule.c

Thanks to both of you. I'll start looking at those soon. :)



More information about the Python-Dev mailing list