]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
1. When a module is run from an EditorWindow, if its directory is not in
authorKurt B. Kaiser <kbk@shore.net>
Thu, 15 May 2003 23:23:21 +0000 (23:23 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Thu, 15 May 2003 23:23:21 +0000 (23:23 +0000)
commit11659ade1e63095ac6217b4e190c14b494ddcf82
treec7aa7368e5dd7f2b2e7971f8cb35d0df550e59ca
parent8f570a768fcefef5e8c9f9cf1facc4f8cdc3ef3f
1. When a module is run from an EditorWindow, if its directory is not in
   sys.path, prepend it.  This allows the module to import other modules
   in the same directory.  Do the same for a script run from the command
   line.
2. Tweak the IDLE usage message a bit more.

SF Bug 706860 (closed)
SF Patch 686254 (reject specific solution)
SF Patch 507327 (similar)

M PyShell.py
M ScriptBinding.py
Lib/idlelib/PyShell.py
Lib/idlelib/ScriptBinding.py