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. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "A storm broke loose in my mind." --Albert Einstein _______________________________________________ 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