\On 7/4/06, Giovanni Bajo <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > >> Relative imports from modules executed with -m, however, would now > >> be able to use the normal relative import mechanism and the > >> __module_name__ workaround proposed for the 2.x series could > >> disappear. > > > > Frankly, I am beginning to regret ever having endorsed the -m option. > > In case you mean the -m pkg.mod spelling, I agree. It's bringing a lot of > complexity, including the __module_name__ hack, for exactly what gain? So > that one doesn't have to write 2 liner wrapper installed as top-level module > in the site-packages?
And by extension even the -m mod spelling, since its introduction led to the argument that -m pkg.mod should not be left behind... -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
