Re: [Python-Dev] Where are the list and array.array implementations in CPython source?

2016-09-05 Thread Jonathan Goble
On Mon, Sep 5, 2016 at 8:10 PM, Martin Panter 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 >

Re: [Python-Dev] Where are the list and array.array implementations in CPython source?

2016-09-05 Thread Benjamin Peterson
Include/listobject.h Objects/listobject.c Modules/arraymodule.c On Mon, Sep 5, 2016, at 16:45, Jonathan Goble wrote: > I'd like to study the CPython implementations of lists and array.array > instances for a personal project of mine, but I've very unfamiliar > with the Python source code as it

Re: [Python-Dev] Where are the list and array.array implementations in CPython source?

2016-09-05 Thread Martin Panter
On 5 September 2016 at 23:45, Jonathan Goble wrote: > I'd like to study the CPython implementations of lists and array.array > instances for a personal project of mine, but I've very unfamiliar > with the Python source code as it pertains to internals like this. > Which files

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

2016-09-05 Thread Jonathan Goble
I'd like to study the CPython implementations of lists and array.array instances for a personal project of mine, but I've very unfamiliar with the Python source code as it pertains to internals like this. Which files would I need to look at to do this, and are there a few particular