Skip to content

Use the wording of LICENSE in the source file headers - #266

Merged
stefankoegl merged 1 commit into
masterfrom
claude/license-header-wording
Nov 11, 2026
Merged

stefankoegl merged 1 commit into
masterfrom
claude/license-header-wording

Conversation

@stefankoegl

Copy link
Copy Markdown
Owner

The headers of jsonpatch.py and ext_tests.py used an older wording of the 3-clause BSD license than LICENSE, which is what __license__ (BSD-3-Clause) and the package metadata refer to:

Headers (before) LICENSE
Clause 3 "The name of the author may not be used…" "Neither the name of the copyright holder nor the names of its contributors may be used…"
Disclaimer "PROVIDED BY THE AUTHOR" "PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"
After the copyright line "All rights reserved." (not present)

Both headers now contain the text of LICENSE, re-wrapped as comments. LICENSE is unchanged.

Verification

The header text equals LICENSE when whitespace and comment markers are ignored (checked by script). python tests.py passes, and setup.py still extracts the module docstring as the package description.


Generated by Claude Code

The headers of jsonpatch.py and ext_tests.py used an older wording of the
3-clause BSD license than LICENSE, which is what __license__ and the
package metadata refer to: 'the author' instead of 'the copyright holder
and contributors'. They now contain the text of LICENSE.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
@stefankoegl
stefankoegl merged commit d564984 into master Nov 11, 2026
21 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — claude/license-header-wording into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants