From a7eaf94dc6e1529fab3e57d95b60c82f62be3801 Mon Sep 17 00:00:00 2001 From: Pablo Prietz Date: Fri, 27 Jul 2018 14:11:22 +0100 Subject: [PATCH] Fix PEP 479/Python 3.7 incompatibility Fixes #126 Adds 3.7 as travis testing target --- .travis.yml | 1 + pyre/pyre.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d2c5b2b..3b9e4c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ python: - "3.4" - "3.5" - "3.6" + - "3.7" matrix: include: diff --git a/pyre/pyre.py b/pyre/pyre.py index 8794eb8..673b67a 100644 --- a/pyre/pyre.py +++ b/pyre/pyre.py @@ -223,7 +223,6 @@ def recent_events(self): """Iterator that yields recent `PyreEvent`s""" while self.socket().get(zmq.EVENTS) & zmq.POLLIN: yield PyreEvent(self) - raise StopIteration() def events(self): """Iterator that yields `PyreEvent`s indefinitely"""