You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 47b5ecd
Browse filesBrowse the repository at this point in the historyBrowse files
Fix prose the 2.4 changes made stale (pre-release sweep) (#647)
* docs: fix prose the 2.4 changes made stale (pre-release sweep)
Step 0 of the release checklist, run over the user docs, the autodoc
docstrings and messages, the stage headers, the case-table notes, the
design docs and AGENTS.md. Every replacement example was run on this
tree, and the migration-guide additions against the 1.4.0, 2.1.0,
2.2.0 and 2.3.0 wheels.
User-facing:
- AmbiguityKind.SUFFIX_OR_NAME: "Jack MA" is a credential since #289,
and a maiden marker after a comma makes no clause since #601; the
examples that said otherwise are rewritten.
- CONJUNCTION_OR_INITIAL: the default set is "e" and "i".
- Lexicon.suffix_acronyms_ambiguous: bare members are read by capitals
and the words-to-spare count, not only by periods.
- modules.rst / _types.py `joined` example: 'Smith, Ph. D. Smith' now
reads a credential run; use 'Smith, Ph. D.'.
- customize.rst LEED AP example: the defaults read it after a comma,
so the add is shown at the end of a name, with its baseline.
- usage.rst: a bare title after a credential is a title, a dotted
multi-chunk word reads by shape, and "PhD MD" is one entry.
- migrate.rst: eleven more 2.4 shapes to grep fixtures for; X.Y.Z.
becomes the real N.C.C.
- README: later 2.x releases add breaks of their own.
- Messages: the CapsSuffixes bool error names the members and the
default (no release had a bool there); the capitalization_exceptions
hint offers a tuple, which type-checks, and a test pins it.
Contributor-only: rules.md#P3's Accepted pair (the capitals spelling
now hits #602's credential run), mechanisms.md's call-site census
(is_title_piece is shared since #602/#603; peel_trailing has no caller
outside the leaf since #601) and particle count, AGENTS.md's undated
counts and a 1.4-only reading, decisions.md's Open blocks for the
closed#360/#380 and the #291 note, and case-table notes. The row
whose id no longer matched its expectation is renamed, and its
one-case spelling is added so S2's reserve stays exercised (field
sweep 1156 -> 1159 claims).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(review): fix four defects the sweep's review found
- decisions.md: #360 moved mc and ste INTO the never-given set, not
out of it (6389f06); the conversion had it backwards.
- The capitalization_exceptions hint offered ('key', 'Value'), which
type-checks and then fails #459's mask check; it offers
('key', 'KEY'), and the test now executes the offered code
(negative control: the old spelling raises). AGENTS.md's pasteable-
code rule says the code must run, not only type-check.
- The `joined` example shows the role-blind half again: 'Ph. D., Jr.'
gives last_list ['Ph. D.'].
- SUFFIX_OR_NAME: "Doe, Dr. nee Smith MA" reports, and now says so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments