How Python Implements "long integer"?

Mark Dickinson dickinsm at
Sun Jul 5 11:57:02 CEST 2009

On Jul 5, 8:38 am, Pedram <pm567... at> wrote:
> Hello,
> I'm reading about implementation of long ints in Python. I downloaded
> the source code of CPython and will read the longobject.c, but from
> where I should start reading this file? I mean which function is the
> first?

I don't really understand the question:  what do you mean by 'first'?
It might help if you tell us what your aims are.

In any case, you probably also want to look at the Include/
longintrepr.h and Include/longobject.h files.


More information about the Python-list mailing list