[issue25488] IDLE: Remove '', user_dir, and idlelib from sys.path when added
Terry J. Reedy
report at bugs.python.org
Sat Feb 27 22:18:34 EST 2016
Terry J. Reedy added the comment:
In private email, eryk sun reports "/usr/bin/idle3 instead prepends 3 directories: ['', current_directory_absolute, '/usr/bin']. If I use the -r option to run a script, it instead prepends script_directory_relative, '', '/usr/bin']. I think these should be [''] and [script_directory_absolute], respectively."
Windows does not have idle3. None of the directories above are needed to run IDLE and I believe any could contain masking files.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25488>
_______________________________________
More information about the Python-bugs-list
mailing list