I'm on the latest spyder and IPython.
In the qtconsole the following works:
In [1]: def f():
...: import time
...: while True:
...: time.sleep(1)
...:
In [2]: f()
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-2-0ec059b9bfe1> in <module>()
----> 1 f()
<ipython-input-1-3243a981a5cc> in f()
2 import time
3 while True:
----> 4 time.sleep(1)
5
KeyboardInterrupt:
In [3]: from IPython import sys_info; print sys_info()
{'codename': 'Work in Progress',
'commit_hash': '2cdbe39',
'commit_source': 'installation',
'default_encoding': 'cp1252',
'ipython_path': 'C:\\dev\\bin\\Anaconda\\lib\\site-packages\\IPython',
'ipython_version': '2.0.0-dev',
'os_name': 'nt',
'platform': 'Windows-7-6.1.7601-SP1',
'sys_executable': 'C:\\dev\\bin\\Anaconda\\python.exe',
'sys_platform': 'win32',
'sys_version': '2.7.5 |Anaconda 1.7.0 (64-bit)| (default, Jul 1 2013,
12:37:52) [MSC v.1500 64 bit (AMD64)]'}
In the spyder IPython console I can't break out of the loop and I have to
kill the session, potentially losing lots of work.
Is anyone else seeing this?
Regards,
Dave
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.