[Python-Dev] [Idle-dev] Removing IDLE from the standard library
Antoine Pitrou
solipsis at pitrou.net
Mon Jul 12 23:59:20 CEST 2010
On Mon, 12 Jul 2010 17:47:31 -0400
Fred Drake <fdrake at acm.org> wrote:
> On Mon, Jul 12, 2010 at 5:42 PM, Michael Foord
> <fuzzyman at 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.
More information about the Python-Dev
mailing list