##// END OF EJS Templates
fix dangling `buffer` in IPython.parallel.util...
fix dangling `buffer` in IPython.parallel.util Prevented numpy arrays from being passed as arguments to view.apply. Previously failing test included.

File last commit:

r6403:3572000b
r6411:6140fe83
Show More
__init__.py
15 lines | 409 B | text/x-python | PythonLexer
"""The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
try:
version_info = tornado.version_info
except AttributeError:
raise ImportError(msg + ", but you have < 1.1.0")
if version_info < (2,1,0):
raise ImportError(msg + ", but you have %s" % tornado.version)
del msg