Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da39e25

Browse files
authored
Merge pull request #13172 from pijyoi/fix_pyqt6_win32
use _exec wrapper for qt win32 inputhook
2 parents 59e313b + eadea37 commit da39e25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • IPython/terminal/pt_inputhooks

IPython/terminal/pt_inputhooks/qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def inputhook(context):
6464
timer.timeout.connect(event_loop.quit)
6565
while not context.input_is_ready():
6666
timer.start(50) # 50 ms
67-
event_loop.exec_()
67+
_exec(event_loop)
6868
timer.stop()
6969
else:
7070
# On POSIX platforms, we can use a file descriptor to quit the event

0 commit comments

Comments
 (0)