On Mon, 12 Jul 2010 17:47:31 -0400
Fred Drake <fdr...@acm.org> wrote:

> On Mon, Jul 12, 2010 at 5:42 PM, Michael Foord
> <fuzzy...@voidspace.org.uk> 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.

Except that modules can often be executed as scripts...

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to