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

tornadoweb / tornado / 1457 / 10
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2015 04:25AM UTC
Files 73
Run time 727min
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

12 Feb 2015 04:17AM UTC coverage: 83.697% (-0.009%) from 83.706%
DEPS=false

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

14077 of 16819 relevant lines covered (83.7%)

0.84 hits per line

Source Files on job 1457.10 (DEPS=false)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1457
  • Travis Job 1457.10
  • 2e679cfe on github
  • Prev Job for DEPS=false on master (#1452.14)
  • Next Job for DEPS=false on master (#1458.14)
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