In <[EMAIL PROTECTED]>, jamadagni
wrote:

> On Apr 14, 4:01 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> 
>> This one is not sane. It's not possible to change the indexing of
>> objects on a per-module basis, as objects may cross module boundaries.
> 
> I do not request for this to be changed per-module. Once I say
> something like:
> 
> from __future__ import indices_start_at_one
> 
> afterwards I would expect *any* index from *any* module to start at 1.
> To my understanding, Python is going to parse the content of modules
> only as and when they are called.

Modules are parsed when they are imported.  And some modules are already
imported before your module is imported because they are built-in or
loaded to be able to import your module in the first place.  And what
about modules that are written in C?

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to