Paul Moore wrote:
> On 2/11/06, Nick Coghlan <[EMAIL PROTECTED]> wrote:
>> I finally finished updating PEP 338 to comply with the flexible importing
>> system in PEP 302.
>>
>> The result is a not-yet-thoroughly-tested module that should allow the -m
>> switch to execute any module written in Python that is accessible via an
>> absolute import statement.
>
> Does this implementation resolve http://www.python.org/sf/1250389 as
> well? A reading of the PEP would seem to imply that it does, but the
> SF patches you mention don't include any changes to the core, so I'm
> not sure...
It will. I haven't updated the command line switch itself yet, so you'd need
to do "-m runpy <whatever>". I do plan on fixing the switch, but at the moment
there's a bug in the module's handling of nested packages, so I want to sort
that out first.
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com