This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, niacdoial, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2015-03-09.22:40:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425940812.04.0.649316666534.issue23546@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps I misunderstand what you meant but "python -m module_name" is a documented Python 2 feature:

https://docs.python.org/2/using/cmdline.html#cmdoption-m

I think the failure to initialize when using -m idlelib after copying over __main__.py from Python 3 is caused by IDLE2's reliance on buggy import behavior fixed by Issue7902.  In any case, applying 556b9bafdee8 from Python 3 seems to fix it.
History
Date User Action Args
2015-03-09 22:40:12ned.deilysetrecipients: + ned.deily, terry.reedy, tim.golden, zach.ware, steve.dower, niacdoial
2015-03-09 22:40:12ned.deilysetmessageid: <1425940812.04.0.649316666534.issue23546@psf.upfronthosting.co.za>
2015-03-09 22:40:12ned.deilylinkissue23546 messages
2015-03-09 22:40:11ned.deilycreate