[issue2751] Regression for executing packages
Rene Dudfield
report at bugs.python.org
Fri Jul 10 04:52:45 CEST 2009
Rene Dudfield <illume at users.sourceforge.net> added the comment:
Hi,
note -m on packages still works with python3.0 and python3.1. It works
by allowing a __main__.py file that gets called by -m.
This is a really annoying regression for python2.6. It's a fairly wide
spread feature too.
I can't see any PEP for why this regression exists.
For pygame we will probably work around it by using "python -m
tests.main" or "python -m pygame.tests.run" which is ugly, but at least
it'll work!
cheers,
----------
nosy: +illume
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2751>
_______________________________________
More information about the Python-bugs-list
mailing list