diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-09-10 02:42:18 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-09-10 02:42:18 (GMT) |
commit | 62685d36aaa3a26fb5c6a5935e387b008880436f (patch) | |
tree | 9bd2d61f5efec7283ec6042ae1f35ede4c1bea11 /Lib/idlelib/idle | |
parent | 9756f388c0f553699070a5a407e95fd38821daff (diff) | |
download | cpython-62685d36aaa3a26fb5c6a5935e387b008880436f.zip cpython-62685d36aaa3a26fb5c6a5935e387b008880436f.tar.gz cpython-62685d36aaa3a26fb5c6a5935e387b008880436f.tar.bz2 |
Python Bug 775061
1. Remove "idle" script, it lives in Tools/scripts/ now.
2. Remove shebang from idle.py, should be called explicitly.
3. Remove obsolete test code from rpc.py; needs unit test.
Diffstat (limited to 'Lib/idlelib/idle')
-rwxr-xr-x | Lib/idlelib/idle | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Lib/idlelib/idle b/Lib/idlelib/idle deleted file mode 100755 index 00a1fe3..0000000 --- a/Lib/idlelib/idle +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python - -try: - import idlelib.PyShell -except ImportError: - # IDLE is not installed, but maybe PyShell is on sys.path: - try: - import PyShell - except ImportError: - raise - else: - import os - idledir = os.path.dirname(os.path.abspath(PyShell.__file__)) - if idledir != os.getcwd(): - # We're not in the IDLE directory, help the subprocess find run.py - pypath = os.environ.get('PYTHONPATH', '') - if pypath: - os.environ['PYTHONPATH'] = pypath + ':' + idledir - else: - os.environ['PYTHONPATH'] = idledir - PyShell.main() -else: - idlelib.PyShell.main() |