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
233f6845
Commit
233f6845
authored
Jul 31, 2012
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Plain Diff
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
parents
dfd72bbc
06c5c6d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/idlelib/PyShell.py
Lib/idlelib/PyShell.py
+2
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/PyShell.py
View file @
233f6845
...
...
@@ -248,8 +248,8 @@ class PyShellEditorWindow(EditorWindow):
def
ranges_to_linenumbers
(
self
,
ranges
):
lines
=
[]
for
index
in
range
(
0
,
len
(
ranges
),
2
):
lineno
=
int
(
float
(
ranges
[
index
]))
end
=
int
(
float
(
ranges
[
index
+
1
]))
lineno
=
int
(
float
(
ranges
[
index
]
.
string
))
end
=
int
(
float
(
ranges
[
index
+
1
]
.
string
))
while
lineno
<
end
:
lines
.
append
(
lineno
)
lineno
+=
1
...
...
Misc/NEWS
View file @
233f6845
...
...
@@ -343,6 +343,9 @@ Core and Builtins
Library
-------
- Issue #9803: Don'
t
close
IDLE
on
saving
if
breakpoint
is
open
.
Patch
by
Roger
Serwy
.
-
Issue
#
12288
:
Consider
'0'
and
'0.0'
as
valid
initialvalue
for
tkinter
SimpleDialog
.
...
...
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