Skip to content

Commit 190e8ba

Browse files
author
Quentin Peter
committed
Merge remote-tracking branch 'upstream/master' into Update_comms_matplotlib
2 parents 94e36a9 + f86623b commit 190e8ba

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
language: python
22
python:
33
- "nightly"
4-
- "3.8-dev"
4+
- 3.8
55
- 3.7
66
- 3.6
77
- 3.5
8-
- 3.4
98
sudo: false
109
dist: xenial
1110
install:
@@ -41,10 +40,6 @@ after_success:
4140
- codecov
4241
matrix:
4342
include:
44-
- python: 3.5
45-
env:
46-
- TORNADO="4.5.*"
47-
- IPYTHON=master
4843
- python: 3.6
4944
env:
5045
- IPYTHON=master

ipykernel/iostream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def flush(self):
338338
339339
send will happen in the background thread
340340
"""
341-
if self.pub_thread.thread.is_alive():
341+
if self.pub_thread and self.pub_thread.thread is not None and self.pub_thread.thread.is_alive():
342342
# request flush on the background thread
343343
self.pub_thread.schedule(self._flush)
344344
# wait for flush to actually get through, if we can.

0 commit comments

Comments
 (0)