[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2017-09-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: #27099 converts extensions, including autocomplete and calltips, to features. Buggy versions of the patch had similar import problems. After the PR is merged, I may try this again, and perhaps try moving the __main__ import into the functions that use it.

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wanted this for the same reason you backported test.__main__ in #30223, but I'm not going to fix the problems. -- ___ Python tracker

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am no longer patching IDLE for 2.7. -- assignee: -> terry.reedy components: +IDLE resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24212 ___

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The idea, obviously, is for python -m idlelib to also work on all systems. When this was requested as part of the discussion on another issue, I thought there was no idlelib.__main__ because __main__ did not work on 2.7. Someone corrected me and the

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-16 Thread Terry J. Reedy
New submission from Terry J. Reedy: Discussion on another issue suggested that 3.x idlelib.__main__ be backported to 2.7 so 'python -m idlelib would work with 2.7 as with 3.x. The current file: IDLE main entry point Run IDLE as python -m idlelib import idlelib.PyShell idlelib.PyShell.main()

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44fc6db34b69 by Terry Jan Reedy in branch '3.4': Issue #24212: Put reference in idle.__main__ to issue with explanation. https://hg.python.org/cpython/rev/44fc6db34b69 -- nosy: +python-dev ___ Python

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why idlelib.__main__ should be backported? You can start IDLE as python -m idlelib.idle in 2.7 and this works as well in 3.x. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org