Where's the source code for __builtin__?
John Machin
sjmachin at lexicon.net
Tue Apr 24 23:50:53 EDT 2007
On 25/04/2007 1:17 PM, Steven Bethard wrote:
> Ben Finney wrote:
>> John Machin <sjmachin at lexicon.net> writes:
>>> On 25/04/2007 9:32 AM, Dustan wrote:
>>>> I've been paging through the source code for various C modules in
>>>> python, and wanted to find the source of some of the builtin
>>>> functions.
>>> What's the 2nd file (in alphabetical order) in the Python folder?
>>
>> What is "the Python folder"?
>>
>> Assuming you mean "the folder for the Python standard library
>> modules":
>
> Actually, he meant the folder named 'Python' in the checkout from the
> repository:
>
> C:\...\python\2.X>dir Python
>
> Directory of C:\...\python\2.X\Python
>
> 03/21/2007 12:13 PM <DIR> .
> 03/21/2007 12:13 PM <DIR> ..
> 02/17/2007 03:11 PM 697 asdl.c
> 03/19/2007 04:31 PM 103,444 ast.c
> 02/17/2007 03:11 PM 865 atof.c
> 03/19/2007 04:31 PM 66,286 bltinmodule.c
>
> Probably 'bltinmodule.c' is a good place to start.
>
It *was* the 2nd file in the 2.4.3 source I happened to have lying
around on my hard drive :-)
More information about the Python-list
mailing list