We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 999d03f commit f420665Copy full SHA for f420665
1 file changed
IPython/terminal/pt_inputhooks/qt.py
@@ -45,6 +45,8 @@ def inputhook(context):
45
QtCore.QSocketNotifier.Read)
46
try:
47
# connect the callback we care about before we turn it on
48
+ # lambda is necessary as PyQT inspect the function signature to know
49
+ # what arguments to pass to. See https://github.com/ipython/ipython/pull/12355
50
notifier.activated.connect(lambda: event_loop.exit())
51
notifier.setEnabled(True)
52
# only start the event loop we are not already flipped
0 commit comments