On Jul 12, 2010, at 5:47 PM, Fred Drake wrote:
> On Mon, Jul 12, 2010 at 5:42 PM, Michael Foord
> <[email protected]> wrote:
>> I'm sure Brett will love this idea, but if it was impossible to reimport the
>> script being executed as __main__ with a different name it would solve these
>> problems.
>
> Indeed! And I'd be quite content with such a solution, since I
> consider scripts and modules to be distinct.
but ... isn't the whole point of 'python -m' to make scripts and modules _not_
be distinct?
_______________________________________________
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