Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
KeyboardInterrupt exception
-
Hi all,
In the following code input_alert() never throws an exception. From the documentation I would have expected that a KeyboardInterrupt exception is thrown when the dialog is canceled.
<pre>import console
console.clear()
try:
console.input_alert('test')
except:
print('exception')</pre>Is this an error?
Steffen
-
I can't reproduce this, it works as expected here. What iOS version and device are you using?
-
iOS 6.1.3 on iPhone4
-
I also can NOT reproduce this error on an iPhone 4 (model: MC605B/A) running iOS 6.1.3 (10B329).
-
That is strange. My model is MC605DN/A. The iOS version is the same. But I cannot imaging that this is hardware dependend.
Other exceptions (e.g. from sqlite) work as expected.
-
Is it possible to enable a debug mode or some logging to further investigate this issue?
Or is the code of the console module publicly available?
-
Solved in Pythonista 1.4