This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients cheryl.sabella, doko, epaine, phr, terry.reedy
Date 2020-07-14.21:06:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594760773.55.0.538755816042.issue40734@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-07-14 21:06:13terry.reedysetrecipients: + terry.reedy, doko, phr, cheryl.sabella, epaine
2020-07-14 21:06:13terry.reedysetmessageid: <1594760773.55.0.538755816042.issue40734@roundup.psfhosted.org>
2020-07-14 21:06:13terry.reedylinkissue40734 messages
2020-07-14 21:06:13terry.reedycreate