Show More
@@ -6,10 +6,10 b'' | |||
|
6 | 6 | #----------------------------------------------------------------------------- |
|
7 | 7 | |
|
8 | 8 | #----------------------------------------------------------------------------- |
|
9 |
# Verify zmq version dependency >= 2.0.10 |
|
|
9 | # Verify zmq version dependency >= 2.0.10-1 | |
|
10 | 10 | #----------------------------------------------------------------------------- |
|
11 | 11 | |
|
12 |
minimum_pyzmq_version = "2.0.10 |
|
|
12 | minimum_pyzmq_version = "2.0.10-1" | |
|
13 | 13 | |
|
14 | 14 | try: |
|
15 | 15 | import zmq |
@@ -44,6 +44,21 b' from zmqshell import ZMQInteractiveShell' | |||
|
44 | 44 | # Module-level logger |
|
45 | 45 | logger = logging.getLogger(__name__) |
|
46 | 46 | |
|
47 | # FIXME: this needs to be done more cleanly later, once we have proper | |
|
48 | # configuration support. This is a library, so it shouldn't set a stream | |
|
49 | # handler, see: | |
|
50 | # http://docs.python.org/library/logging.html#configuring-logging-for-a-library | |
|
51 | # But this lets us at least do developer debugging for now by manually turning | |
|
52 | # it on/off. And once we have full config support, the client entry points | |
|
53 | # will select their logging handlers, as well as passing to this library the | |
|
54 | # logging level. | |
|
55 | ||
|
56 | if 0: # dbg - set to 1 to actually see the messages. | |
|
57 | logger.addHandler(logging.StreamHandler()) | |
|
58 | logger.setLevel(logging.DEBUG) | |
|
59 | ||
|
60 | # /FIXME | |
|
61 | ||
|
47 | 62 | #----------------------------------------------------------------------------- |
|
48 | 63 | # Main kernel class |
|
49 | 64 | #----------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now