On Oct 14, 2004, at 9:58 AM, Barry Warsaw wrote: > On Thu, 2004-10-14 at 09:06, Thomas Heller wrote: > >> ... and call it automatically when the '-m' implementation detects a >> dotted name? > > +1. Also, if a non-dotted module name can't be found, pyrun should be > called to see if the module is actually a package (with an __main__ > that > lives in the package's __init__.py). Wouldn't it make more sense to look for main rather than __main__? It seems that __main__ (as a function) occurs EXACTLY ZERO times in the standard library ;) -bob
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4