Message373657
Lib/idlelib contains a startup file 'idle.py' (and 'idle.bat' and 'idle.pyw' on Windows). IDLE, and I, have no control over the installation of IDLE, including the addition of system-specific auxiliary startup files and entries, with names containing 'idle', outside of /idlelib. On Windows, there is no addition in pythondir/Scripts. The 'IDLE' Start menu shortcut run idlelib/idle.pyw.
I believe IDLE's only manipulation of sys.path for the user process is to prepend '' or the the edited file's directory. In my message above describing a possible experiment, 'sys.python' should be sys.path. You can keep exploring if you want, but I am closing this for now. |
|
Date |
User |
Action |
Args |
2020-07-14 21:06:13 | terry.reedy | set | recipients:
+ terry.reedy, doko, phr, cheryl.sabella, epaine |
2020-07-14 21:06:13 | terry.reedy | set | messageid: <1594760773.55.0.538755816042.issue40734@roundup.psfhosted.org> |
2020-07-14 21:06:13 | terry.reedy | link | issue40734 messages |
2020-07-14 21:06:13 | terry.reedy | create | |
|