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

pyscaffold / configupdater / 42065471701
99%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/section-set-invalid-value
DEFAULT BRANCH: master
Ran 05 Nov 2026 04:32PM UTC
Jobs 0
Files 0
Run time –
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
42065471701

push

github

web-flow
Reject sections named differently from their key in Document.__setitem__ (#191)

* Keep original option when replacement is already attached

Validate replacement attachment before removing the original option.

* Keep original section when replacement is already attached

* Add regression coverage and notes for safe block replacement

* Add regression coverage and notes for safe block replacement

* Add regression coverage and notes for safe block replacement

* Add regression coverage and notes for safe block replacement

* Reject sections named differently from their key in Document.__setitem__

Replacing an existing section skipped the name check that adding a section
does. `updater["s"] = updater["t"]` therefore passed `attach()` (same
container) and put the same Section twice into `_structure`, and a copied or
detached section replaced `[s]` under its own name, so `updater["s"]` was gone
and the document could contain duplicate sections.

Check the name before both branches and document the deviation from
ConfigParser, which copies the options of `t` into `s`. The error message now
says "section name" instead of "option key".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Reference PR #191 in the changelog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: ANTO JEROME A <antojerome2005@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Source Files on build 42065471701
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #42065471701
  • 6c7a0031 on github
  • Prev Build on main (#42061938506)
  • Next Build on main (#42066210751)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc