[Python-Dev] Question about Module Loading

Timothy Kadich tdkadich at gmail.com
Thu Jun 2 00:51:10 CEST 2011


Nevermind. In 2.6 (what I'm working with) it's "case IMPORT_NAME:"
Thank you for letting me know where to start.

On 1 June 2011 15:43, Timothy Kadich <tdkadich at gmail.com> wrote:

> I don't understand what you mean by "TARGET(IMPORT_NAME)". I can't find
> that string in ceval.c.
>
>
> On 1 June 2011 12:04, Benjamin Peterson <benjamin at python.org> wrote:
>
>> 2011/6/1 Timothy Kadich <tdkadich at gmail.com>:
>> > If a Python program imported a module, say numpy for example, where in
>> the
>> > source is this line interpreted and then handled by import.c ?
>>
>> Many different files. Start from TARGET(IMPORT_NAME) in ceval.c.
>>
>>
>> --
>> Regards,
>> Benjamin
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110601/1c34b594/attachment-0001.html>


More information about the Python-Dev mailing list