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

zopefoundation / transaction / 293
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: config-with-pure-python-template-b3663390
DEFAULT BRANCH: master
Ran 05 Sep 2019 04:04PM UTC
Jobs 7
Files 15
Run time 2min
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
293

Pull #84

travis-ci

web-flow
Transaction._free drops more references, and Transaction.abort() is a little safer.

Specifically, free the manager and synchronizers, plus a few other
dictionaries that could be arbitrary size and contain arbitrary data.

And abort() always invokes _free() even in the case of exceptions.
commit() still doesn't so that the synchronizers are available for the
expected abort().

But take care about when and how abort frees its manager: not only
does this preserve backwards compatibility, but it lets it be
safe to abort a transaction object more than once. A happy side-effect
of only freeing the manager there is that synchronizers can access
data they set in afterCompletion().

From discussion in #82
Pull Request #84: Transaction._free drops more references, and Transaction.abort() is a bit safer

93 of 93 new or added lines in 2 files covered. (100.0%)

3456 of 3456 relevant lines covered (100.0%)

6.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 293.1 05 Sep 2019 04:04PM UTC 0
100.0
Travis Job 293.1
2 293.2 05 Sep 2019 04:04PM UTC 0
100.0
Travis Job 293.2
3 293.3 05 Sep 2019 04:04PM UTC 0
100.0
Travis Job 293.3
4 293.4 05 Sep 2019 04:05PM UTC 0
100.0
Travis Job 293.4
5 293.5 05 Sep 2019 04:05PM UTC 0
100.0
Travis Job 293.5
6 293.6 05 Sep 2019 04:06PM UTC 0
100.0
Travis Job 293.6
7 293.7 05 Sep 2019 04:06PM UTC 0
99.71
Travis Job 293.7
Source Files on build 293
  • List 0
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #293
  • Pull Request #84
  • PR Base - master (#288)
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

© 2025 Coveralls, Inc