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

zopefoundation / AccessControl / 27044389014
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: guarded-getattr-impl-parity
DEFAULT BRANCH: master
Ran 05 Jun 2026 10:59PM UTC
Jobs 1
Files 57
Run time 1min
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

05 Jun 2026 10:54PM UTC coverage: 84.337% (+0.01%) from 84.325%
27044389014

Pull #165

github

jensens
Fix guarded_getattr ImplPython/ImplC assertion-key parity

The pure-Python ``guarded_getattr`` keyed the container assertion on
``type(value.__self__)`` while the C implementation keys on ``type(inst)``.
As a result, under ``PURE_PYTHON`` a bound method whose ``__self__`` is an
allow-listed simple type (``tuple``/``bytes``/``range``/...) took the
truthy-assertion short-circuit and was returned without calling
``validate()``, diverging from the C engine.

Key the assertion lookup on ``type(inst)`` to match ``cAccessControl``, and
add a regression test (red under ``PURE_PYTHON`` before the fix, green
after; the C engine was already correct).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #165: Fix guarded_getattr ImplPython/ImplC assertion-key parity

417 of 598 branches covered (69.73%)

Branch coverage included in aggregate %.

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

5075 of 5914 relevant lines covered (85.81%)

5.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27044389014.1 05 Jun 2026 10:59PM UTC 57
84.34
GitHub Action Run
Source Files on build 27044389014
  • Tree
  • List 57
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27044389014
  • Pull Request #165
  • PR Base - master (#26712503094)
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