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
eb945a93
Commit
eb945a93
authored
Mar 13, 2012
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
parent
7ca97d52
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Lib/idlelib/CallTipWindow.py
Lib/idlelib/CallTipWindow.py
+5
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/CallTipWindow.py
View file @
eb945a93
...
...
@@ -22,6 +22,7 @@ class CallTip:
self
.
parenline
=
self
.
parencol
=
None
self
.
lastline
=
None
self
.
hideid
=
self
.
checkhideid
=
None
self
.
checkhide_after_id
=
None
def
position_window
(
self
):
"""Check if needs to reposition the window, and if so - do it."""
...
...
@@ -102,6 +103,9 @@ class CallTip:
self
.
hidetip
()
else
:
self
.
position_window
()
if
self
.
checkhide_after_id
is
not
None
:
self
.
widget
.
after_cancel
(
self
.
checkhide_after_id
)
self
.
checkhide_after_id
=
\
self
.
widget
.
after
(
CHECKHIDE_TIME
,
self
.
checkhide_event
)
def
hide_event
(
self
,
event
):
...
...
Misc/NEWS
View file @
eb945a93
...
...
@@ -22,6 +22,8 @@ Core and Builtins
Library
-------
- Issue #5219: Prevent event handler cascade in IDLE.
- Issue #14184: Increase the default stack size for secondary threads on
Mac OS X to avoid interpreter crashes when using threads on 10.7.
...
...
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