From d543f2b8b0b66af330aae6764e53495cda48fd4e Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Mon, 26 Mar 2012 22:11:46 +0300 Subject: IDLE can be launched as python -m ildelib --- Lib/idlelib/__main__.py | 9 +++++++++ Misc/NEWS | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 Lib/idlelib/__main__.py diff --git a/Lib/idlelib/__main__.py b/Lib/idlelib/__main__.py new file mode 100644 index 0000000..0666f2f --- /dev/null +++ b/Lib/idlelib/__main__.py @@ -0,0 +1,9 @@ +""" +IDLE main entry point + +Run IDLE as python -m idlelib +""" + + +import idlelib.PyShell +idlelib.PyShell.main() diff --git a/Misc/NEWS b/Misc/NEWS index df13d40..0c01755 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -34,6 +34,8 @@ Core and Builtins Library ------- +- IDLE can be launched as python -m ildelib + - Issue #14295: Add unittest.mock - Issue #7652: Add --with-system-libmpdec option to configure for linking -- cgit v0.12