diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2019-09-16 23:04:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-16 23:04:21 (GMT) |
commit | 0048afc16a7e7301d5c565237db271505e5fbed9 (patch) | |
tree | 51784b04b971073163df417c8cc81dddc98e1480 /Lib/idlelib/pyshell.py | |
parent | 81528ba2e81c39f4d6bca5b785e818c7d08b8501 (diff) | |
download | cpython-0048afc16a7e7301d5c565237db271505e5fbed9.zip cpython-0048afc16a7e7301d5c565237db271505e5fbed9.tar.gz cpython-0048afc16a7e7301d5c565237db271505e5fbed9.tar.bz2 |
bpo-38183: Test_idle ignores user config directory GH-16198)
It no longer tries to create or access .idlerc or any files within.
Users must run IDLE to discover problems with saving settings.
Diffstat (limited to 'Lib/idlelib/pyshell.py')
-rwxr-xr-x | Lib/idlelib/pyshell.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index 08716a9..2e4dfad 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py @@ -133,6 +133,7 @@ class PyShellEditorWindow(EditorWindow): self.text.bind("<<clear-breakpoint-here>>", self.clear_breakpoint_here) self.text.bind("<<open-python-shell>>", self.flist.open_shell) + #TODO: don't read/write this from/to .idlerc when testing self.breakpointPath = os.path.join( idleConf.userdir, 'breakpoints.lst') # whenever a file is changed, restore breakpoints |