##// END OF EJS Templates
add implementation and implementation_version to kernel_info_reply
MinRK -
Show More
@@ -142,9 +142,11 b' class CompleteReply(Reference):'
142
142
143 class KernelInfoReply(Reference):
143 class KernelInfoReply(Reference):
144 protocol_version = Version('5.0')
144 protocol_version = Version('5.0')
145 ipython_version = Version('2.0')
145 implementation = Unicode('ipython')
146 implementation_version = Version('2.1')
146 language_version = Version('2.7')
147 language_version = Version('2.7')
147 language = Unicode()
148 language = Unicode('python')
149 banner = Unicode()
148
150
149
151
150 # IOPub messages
152 # IOPub messages
@@ -572,7 +572,8 b' class Kernel(Configurable):'
572 def kernel_info_request(self, stream, ident, parent):
572 def kernel_info_request(self, stream, ident, parent):
573 vinfo = {
573 vinfo = {
574 'protocol_version': protocol_version,
574 'protocol_version': protocol_version,
575 'ipython_version': ipython_version,
575 'implementation': 'ipython',
576 'implementation_version': ipython_version,
576 'language_version': language_version,
577 'language_version': language_version,
577 'language': 'python',
578 'language': 'python',
578 'banner': self.shell.banner,
579 'banner': self.shell.banner,
General Comments 0
You need to be logged in to leave comments. Login now