Feature Requests item #1241619, was opened at 2005-07-20 10:06 Message generated for change (Comment added) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1241619&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Python Interpreter Core >Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Giles Antonio Radford (mewf) Assigned to: Nobody/Anonymous (nobody) Summary: -m does not find dotted modules Initial Comment: -m does not appear to find modules that are referenced to with dots on windows: D:\Python24\Lib\site-packages>python -m found python: module found not found D:\Python24\Lib\site-packages>echo print 'found!' > found.py D:\Python24\Lib\site-packages>python -m found found! D:\Python24\Lib\site-packages>mkdir directory D:\Python24\Lib\site-packages>move found.py directory D:\Python24\Lib\site-packages>del found.pyc Could Not Find D:\Python24\Lib\site-packages\found.pyc D:\Python24\Lib\site-packages>python -m found python: module found not found D:\Python24\Lib\site-packages>python -m directory.found python: module directory.found not found D:\Python24\Lib\site-packages>python directory\found.py found! D:\Python24\Lib\site-packages> This should use the standard python finding mechanism to cope with dotted packages. Also with package\__init__.py ---------------------------------------------------------------------- >Comment By: Raymond Hettinger (rhettinger) Date: 2005-07-20 12:54 Message: Logged In: YES user_id=80475 The initial implementation of -m was intentionally confined to the simplest case. The issues pertaining to packages are dealt with through the PEP process: http://www.python.org/peps/pep-0338.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1241619&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com