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
4dc3c73b
Commit
4dc3c73b
authored
Aug 19, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alas, the thread support for Tk didn't work. Withdraw it, until I
figure out how to do this right.
parent
e28e383d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Modules/_tkinter.c
Modules/_tkinter.c
+4
-0
No files found.
Modules/_tkinter.c
View file @
4dc3c73b
...
...
@@ -1265,6 +1265,7 @@ Tkapp_MainLoop(self, args)
!
errorInCmd
)
{
int
result
;
#ifdef THIS_CODE_IS_BUGGY
result
=
Tcl_DoOneEvent
(
TCL_DONT_WAIT
);
if
(
PyErr_CheckSignals
()
!=
0
)
return
NULL
;
...
...
@@ -1276,6 +1277,9 @@ Tkapp_MainLoop(self, args)
Py_BEGIN_ALLOW_THREADS
result
=
Tcl_WaitForEvent
((
Tcl_Time
*
)
NULL
);
Py_END_ALLOW_THREADS
#else
result
=
Tcl_DoOneEvent
(
0
);
#endif
if
(
PyErr_CheckSignals
()
!=
0
)
return
NULL
;
if
(
result
<
0
)
...
...
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