• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tornadoweb / tornado / 1457
92%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2015 04:18AM UTC
Jobs 14
Files 0
Run time 734min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1457

Pull #1333

travis-ci

carlsverre
Coroutine exception __context__ leak in python 3

In Python 3 every exception has an auto-attached __context__ exception if it was
raised while an existing exception was being handled.  This is often a very
useful property and allows users to see the underlying cause of many problems.

However, when dealing with async code via coroutines this feature can suddenly
become a pretty big issue.  Namely, if you generator.throw back into a coroutine
to raise an exception in the correct scope, and that coroutine raises an
exception at a later time you can have nested exceptions which shouldn't
logically be nested.

This patch resolves this issue in the coroutine code by moving the gen.throw
outside of the exception handler.  By doing this the user-code scope is able to
later raise exceptions without worrying about inheriting prior exception
context.
Pull Request #1333: Coroutine exception __context__ leak in python 3

85380 of 100910 relevant lines covered (84.61%)

1.4 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
/home/travis/virtualenv/pypy3-2.4.0/site-packages/tornado-4.2.dev1-py3.2.egg/tornado/gen.py
1
100.0
/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/tornado-4.2.dev1-py3.3-linux-x86_64.egg/tornado/gen.py
Jobs
ID Job ID Ran Files Coverage
1 1457.1 (DEPS=true) 12 Feb 2015 04:19AM UTC 0
Travis Job 1457.1
2 1457.2 (DEPS=false) 12 Feb 2015 04:18AM UTC 0
Travis Job 1457.2
3 1457.3 (DEPS=true) 12 Feb 2015 04:20AM UTC 0
Travis Job 1457.3
4 1457.4 (DEPS=false) 12 Feb 2015 04:19AM UTC 0
83.26
Travis Job 1457.4
5 1457.5 (DEPS=true) 12 Feb 2015 03:05PM UTC 0
Travis Job 1457.5
6 1457.6 (DEPS=false) 12 Feb 2015 04:24AM UTC 0
83.07
Travis Job 1457.6
7 1457.7 (DEPS=true) 12 Feb 2015 04:21AM UTC 0
85.48
Travis Job 1457.7
8 1457.8 (DEPS=false) 12 Feb 2015 04:21AM UTC 0
83.74
Travis Job 1457.8
9 1457.9 (DEPS=true) 12 Feb 2015 04:25AM UTC 0
87.75
Travis Job 1457.9
10 1457.10 (DEPS=false) 12 Feb 2015 04:25AM UTC 0
83.7
Travis Job 1457.10
11 1457.11 (DEPS=true) 12 Feb 2015 04:27AM UTC 0
Travis Job 1457.11
12 1457.12 (DEPS=false) 12 Feb 2015 04:27AM UTC 0
83.95
Travis Job 1457.12
13 1457.13 (DEPS=true) 12 Feb 2015 04:33AM UTC 0
83.71
Travis Job 1457.13
14 1457.14 (DEPS=false) 12 Feb 2015 04:34AM UTC 0
83.71
Travis Job 1457.14
Source Files on build 1457
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1457
  • Pull Request #1333
  • PR Base - master (#1452)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc