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

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

Build:
Build:
LAST BUILD BRANCH: 8.1.1
DEFAULT BRANCH: master
Ran 22 Jan 2020 03:33PM UTC
Jobs 13
Files 41
Run time 8min
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
407

push

travis-ci

jamadden
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.

1101 of 1117 branches covered (98.57%)

Branch coverage included in aggregate %.

8992 of 9076 relevant lines covered (99.07%)

12.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 407.1 22 Jan 2020 03:33PM UTC 0
98.28
Travis Job 407.1
2 407.2 22 Jan 2020 03:33PM UTC 0
96.86
Travis Job 407.2
3 407.3 22 Jan 2020 03:33PM UTC 0
96.86
Travis Job 407.3
4 407.4 22 Jan 2020 03:33PM UTC 0
96.86
Travis Job 407.4
5 407.5 22 Jan 2020 03:33PM UTC 0
96.88
Travis Job 407.5
6 407.6 22 Jan 2020 03:34PM UTC 0
98.22
Travis Job 407.6
7 407.7 22 Jan 2020 03:34PM UTC 0
96.43
Travis Job 407.7
9 407.9 (PURE_PYTHON=0) 22 Jan 2020 03:34PM UTC 0
98.28
Travis Job 407.9
10 407.10 (PURE_PYTHON=1) 22 Jan 2020 03:35PM UTC 0
96.83
Travis Job 407.10
13 407.13 (TERRYFY_PYTHON='macpython 2.7.17') 22 Jan 2020 03:37PM UTC 0
98.28
Travis Job 407.13
14 407.14 (TERRYFY_PYTHON='macpython 3.5') 22 Jan 2020 03:38PM UTC 0
96.86
Travis Job 407.14
15 407.15 (TERRYFY_PYTHON='macpython 3.6.2') 22 Jan 2020 03:41PM UTC 0
96.86
Travis Job 407.15
16 407.16 (TERRYFY_PYTHON='macpython 3.7.0') 22 Jan 2020 03:41PM UTC 0
96.86
Travis Job 407.16
Source Files on build 407
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #407
  • 3cc593ed on github
  • Next Build on c-opts-members (#410)
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