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

zopefoundation / zope.interface / 409
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: pep-420-native-namespace
DEFAULT BRANCH: master
Ran 22 Jan 2020 03:41PM UTC
Jobs 13
Files 41
Run time 13min
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
409

Pull #154

travis-ci

web-flow
Use tp_members in SpecificationBase and ClassProvidesBase.

Instead of storing 1 and 2 attributes, respectively, in __dict__. This lets us eliminate inst_attr and its use of an undocumented API.

It also helps reign in the size of these objects. Before, on CPython 8, a ClassProvides object that subclasses both SpecificationBase and ClassProvidesBase required 408 bytes: 48 for the object, 360 for the dict.

Now it requires 72 + 232 = 304.

With a bit of work on defining __slots__ in Python, that can be brought much lower still, I think.

zope.security tests pass with this installed.
Pull Request #154: Use tp_members in SpecificationBase and ClassProvidesBase; stop using private undoc API

1101 of 1117 branches covered (98.57%)

Branch coverage included in aggregate %.

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

8992 of 9076 relevant lines covered (99.07%)

12.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 409.1 22 Jan 2020 03:41PM UTC 0
98.28
Travis Job 409.1
2 409.2 22 Jan 2020 03:42PM UTC 0
96.86
Travis Job 409.2
3 409.3 22 Jan 2020 03:42PM UTC 0
96.86
Travis Job 409.3
4 409.4 22 Jan 2020 03:43PM UTC 0
96.86
Travis Job 409.4
5 409.5 22 Jan 2020 03:43PM UTC 0
96.88
Travis Job 409.5
6 409.6 22 Jan 2020 03:44PM UTC 0
98.22
Travis Job 409.6
7 409.7 22 Jan 2020 03:44PM UTC 0
96.43
Travis Job 409.7
9 409.9 (PURE_PYTHON=0) 22 Jan 2020 03:45PM UTC 0
98.28
Travis Job 409.9
10 409.10 (PURE_PYTHON=1) 22 Jan 2020 03:45PM UTC 0
96.83
Travis Job 409.10
13 409.13 (TERRYFY_PYTHON='macpython 2.7.17') 22 Jan 2020 03:50PM UTC 0
98.28
Travis Job 409.13
14 409.14 (TERRYFY_PYTHON='macpython 3.5') 22 Jan 2020 03:51PM UTC 0
96.86
Travis Job 409.14
15 409.15 (TERRYFY_PYTHON='macpython 3.6.2') 22 Jan 2020 03:54PM UTC 0
96.86
Travis Job 409.15
16 409.16 (TERRYFY_PYTHON='macpython 3.7.0') 22 Jan 2020 03:54PM UTC 0
96.86
Travis Job 409.16
Source Files on build 409
  • List 0
  • Changed 20
  • Source Changed 3
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #409
  • Pull Request #154
  • PR Base - master (#408)
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