Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0b45f36c
Commit
0b45f36c
authored
Feb 14, 2008
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Could not open files in .idlerc directory if latter was hidden on Windows.
Issue 1743, Issue 1862. Backport r60225, r60745
parent
f9259d72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+3
-0
Lib/idlelib/configHandler.py
Lib/idlelib/configHandler.py
+6
-1
No files found.
Lib/idlelib/NEWS.txt
View file @
0b45f36c
...
@@ -3,6 +3,9 @@ What's New in IDLE 1.2.2c1?
...
@@ -3,6 +3,9 @@ What's New in IDLE 1.2.2c1?
*Release date: XX-FEB-2008*
*Release date: XX-FEB-2008*
- Could not open files in .idlerc directory if latter was hidden on Windows.
Issue 1743, Issue 1862. (backport r60225, r60745)
- format_paragraph_event wasn't returning a 'break' (backport r59453)
- format_paragraph_event wasn't returning a 'break' (backport r59453)
- Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
- Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
...
...
Lib/idlelib/configHandler.py
View file @
0b45f36c
...
@@ -142,7 +142,12 @@ class IdleUserConfParser(IdleConfParser):
...
@@ -142,7 +142,12 @@ class IdleUserConfParser(IdleConfParser):
"""
"""
if
not
self
.
IsEmpty
():
if
not
self
.
IsEmpty
():
cfgFile
=
open
(
self
.
file
,
'w'
)
fname
=
self
.
file
try
:
cfgFile
=
open
(
fname
,
'w'
)
except
IOError
:
os
.
unlink
(
fname
)
cfgFile
=
open
(
fname
,
'w'
)
self
.
write
(
cfgFile
)
self
.
write
(
cfgFile
)
else
:
else
:
self
.
RemoveFile
()
self
.
RemoveFile
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment