[Python-ideas] PEP for executing a module in a package containing relative imports (original) (raw)
Brett Cannon brett at python.org
Sun Apr 22 01:49:47 CEST 2007
- Previous message: [Python-ideas] PEP for executing a module in a package containing relative imports
- Next message: [Python-ideas] PEP for executing a module in a package containing relative imports
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/21/07, Josiah Carlson <jcarlson at uci.edu> wrote:
After reading other posts in the thread, I'm going to put my support into the sys.main variant. It has all of the benefits of the builtin name == main, with none of the drawbacks (no builtin!), and only a slight annoyance of 'import sys', which is more or less free.
Yeah, I am starting to like it as well. Steven and Jim, what do you think?
-Brett
- Previous message: [Python-ideas] PEP for executing a module in a package containing relative imports
- Next message: [Python-ideas] PEP for executing a module in a package containing relative imports
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]