How Python Implements "long integer"?

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


On Jul 5, 8:38 am, Pedram <pm567... at gmail.com> 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.

Mark



More information about the Python-list mailing list