On Fri, Mar 4, 2011 at 10:59 AM, <exar...@twistedmatrix.com> wrote: > Something to consider here is how this will interact with Python files which > are _not_ modules. I'm a little uneasy about having sys.modules["trial"] > refer to the module defined by /usr/bin/trial.
I've long held the position that modules and scripts are distinct, and should never share a source file. All the work that's going into dealing with this just reinforces my position. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> "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