Fix exceptions on Python 2.7

16 jobs for issue_3 in 19 minutes and 24 seconds (queued for 8 seconds)