[Python-Dev] PEP 395: Module Aliasing
Steven D'Aprano
steve at pearwood.info
Fri Mar 4 17:48:17 CET 2011
More information about the Python-Dev mailing list
Fri Mar 4 17:48:17 CET 2011
- Previous message: [Python-Dev] PEP 395: Module Aliasing
- Next message: [Python-Dev] PEP 395: Module Aliasing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fred Drake wrote: > On Fri, Mar 4, 2011 at 10:59 AM, <exarkun at 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. Perhaps I've misunderstood something, but it seems to me that three out of the five problems described in the PEP have nothing to do with modules and scripts sharing the same file. -- Steven
- Previous message: [Python-Dev] PEP 395: Module Aliasing
- Next message: [Python-Dev] PEP 395: Module Aliasing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list