We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c4f49c + 226882c commit eaf5d8bCopy full SHA for eaf5d8b
ipykernel/kernelapp.py
@@ -373,8 +373,10 @@ def initialize(self, argv=None):
373
self.init_sockets()
374
self.init_heartbeat()
375
# writing/displaying connection info must be *after* init_sockets/heartbeat
376
- self.log_connection_info()
377
self.write_connection_file()
+ # Log connection info after writing connection file, so that the connection
378
+ # file is definitely available at the time someone reads the log.
379
+ self.log_connection_info()
380
self.init_io()
381
self.init_signal()
382
self.init_kernel()
0 commit comments