Ned Deily added the comment:

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.

----------
nosy: +ned.deily

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23546>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to