Repository navigation
Sweep stale prose for the 3.0.0 release - #1079
Merged
Merged
Conversation
….2's warnings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…docs for stale prose User docs, autodoc docstrings and messages, the pipeline stages' Consumes/Produces/Reads lines and ParseState's ownership map, the notes in tests/v2/cases.py, docs/design/ and the AGENTS.md files and vocab README, each read against the 3.0 tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
H9's Precedence modifier clause in 3.0 terms (a caller's other title reading), decisions/H9's pointers to the entries that hold its claims, and vocabulary-model's phase 3 line in the shipped tense. H9's budget record re-recorded, 778 -> 784 words: the clause reads no new signal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Translate a 2.x removal without rewriting another file's reading (ma's Filipino same_as) and offer a bare Lexicon() call's fix on a lexicon it names, each with a test that runs the offered code; retarget the .pyi stub and the reserved vocabulary names to unbuilt, 3.x; give the API reference's undocumented members docstrings and mark every 3.0 member 'Added in 3.0.'; state locales.rst's promise as the gate tests it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s pool as built piecemeal P9 gains its fenced example with a deviates marker (#886 moved the reading in 2.7); O6's Open line carries the ñ question alone; the vocabulary-model Standing line no longer reads phase 2's one pool as pending. Also a test of a 2.x replace on an edited lexicon. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Log entries for the .pyi stub (3-0-reevaluations) and the reserved vocabulary names (vocabulary-model), with the Standing lines and the RFC pointed at them; P9's one-case shape fenced under #1080 too; the phase 2 pool line restated to match the entries that record it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two names new to the corpus, no reading moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Name the three passages that point at the Open line, say what cut it, add the one per-region list figure on record, and scope the measure bullet to the switches it measured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gentina (decisions/O6) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The switch figure is the maximum over every Spanish group, Peru's; the per-country-list finding is cited; the measured population is stated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
derek73
added a commit
that referenced
this pull request
Nov 5, 2026
….md read (#1094) Step 0 now opens with a /simplify pass over every module the cycle changed that has not had one, run before the stale-prose sweep since the passes rewrite the comments the sweep reads. The sweep's AGENTS.md line names all six files, read after the last behavior PR merges: 3.0's sweep (#1079) read four of the six. The initials gotcha now names 3.0's initials(spec, separator) rather than v1's initials_separator/initials_format. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 0 of the release checklist for 3.0.0: the stale-prose sweep. Each site the checklist names was read against the 3.0 tree, with every doubtful claim run. It changes no behavior: only docs, docstrings, message strings, comments and case notes.
What changed, by site
docs/migrate.rst
Graf Lambsdorff,Sta. Maria/Delos Reyes,María del Carmen,طارق عبد العزيز,Ortega y Gasset VI, the bracketed clauses(PhD, MBA)/(JP),Dumas père,Pr/Profesor,KC/MSW, U+2063, the given namesMaj/Gen/Pharaoh/SaintwithBrig Gen,Silva, Junior Carlos, and the case repair ofST,DELAandMACHADO. Each 1.4 reading was measured against the 1.4.0 wheel.config.surnamesimport and the unwarned read of aLexiconset field.README.rst
Lexiconconfiguration, render in written order and the language packs.Lexiconfield read.python -m doctest README.rstand PyPI'sreadme_rendererare both clean.docs/usage.rst, concepts.rst, modules.rst, index.rst
Lexiconfields (after_given_titles,suffix_acronyms_ambiguous,given_name_abbreviations, emptyingtitles) became the 3.0 calls (words(...),readings_of(...)).last_listbecamefamilyinSTABLE_TAGS.docs/customize.rst, locales.rst
ES_ARis mentioned besideES's given-name list and in the composition paragraph.render()'s description covers the views and the default layout in read order.--strict.rules_patchusers are listed in full.Autodoc docstrings and messages (
_types.py,_locale.py,locales/__init__.py,locales/ja.py)AmbiguityKinddocs no longer cite internalLexicon.title_phrasesandconjunctions_ambiguous, or "planned for 2.x".surname1's folded-middle example was wrong against rules/R11 (the first-surname views) and is fixed.Localenames itslanguages.jaImportError quotes'nameparser[ja]'for zsh.mypy --strict). The one not run issegmenter=locales.ja_segmenter(): namedivider-python isn't installed in this checkout.Pipeline stage headers (
_assemble,_assign,_classify,_post_rules,_script_segment) and ParseState's ownership map_classifyover-claimedgiven_namesand missedtitle_case_name_words._assignreads the title-phrase sets for H9 (the title phrase).post_ruleswrites S1's set-apart roles and R11's first-surname tag.tests/v2/cases.py notes
rules.md#R3's "a conjunction never initials" is unqualified:Juan de yhas baseyand initialsJ.#461 (connective initials), H9'sjustice, Set apart a bracketed clause of credentials, generations or titles (#792, #771) #1067's bracketed clauses (rules/S13's twin examples, rules/S1), R6's rendering and ShouldDoe, John MAreadMAas a credential, as 1.4.0 did, or at least report the fork? #531. Each was rewritten from a live run, checked against the 2.8.2 wheel where a past reading is named.docs/design/
Doe, John Vreport that the V might be a middle initial? #877 and Should a bracketed generation end there? "W. Russell (Jr.) Withers" reads family "Russell", suffix "Jr. Withers" #792 are decided, and Should common British post-nominals (KC,FREng,DL,FRS,PC…) be in the vocabulary, soJane Doe KCkeeps familyDoe? #965's leftovers moved to Should a credential written in its own mixed case (FREng,CEng) end a name as the credential?Jane Doe CEng FIETreads family 'CEng' #1053.Not standing:line for the v1 title list.Graf, a particle since ShouldOtto Graf Lambsdorffread familyGraf Lambsdorff, asManfred Freiherr von Richthofenreads familyFreiherr von Richthofen? #709, toHerzog.remove(w, kind="given")and a caller's other title reading. Its budget record was re-recorded, 778 → 784 words; the clause reads no new signal (axis 12).add().AGENTS.md files and nameparser/vocab/README.md
honorificsview in the snapshot list;GENERATION_WORDSand the rest);_typesimporting_parserat call time;ADDED_INfields;Parserno longer called "(future)";_INITIALno longer said to be public.St ClairandSan Martínwith their capital?JOHN ST CLAIRrepairs toJohn st Clair#1069.:mod:link.default = falseexample was wrong (pèrehas been on by default since Locale packs forAlexandre Dumas filsandJiří Dienstbier ml.: generational words that collide outside their language #684) and is now csml. The phase-3 lines are in the past tense.Decided items, applied
SMITH VD V, JOHNand its one-casesmith vd v, john, each withdeviates: #1080. Ask one predicate for every roman-numeral rule (#752, phase 2f) #886 moved both readings in 2.7, and the fix is in 3.x. The rules corpus and the snapshot gain the two names; no reading moved.Lexiconcompiles its pool. 3a's reading index is not that pool: it holds the vocabulary files' readings only.Policy.pyistub, with a dated 3-0-reevaluations entry; the differential-ledger Standing line points at it.bare_only,leading_only,trailing_onlyandseparators, with a dated vocabulary-model entry. The change coverstools/vocab/build.py'sRESERVEDand its message ("reserved, unbuilt, for 3.x"), nameparser/vocab/README.md's table, the RFC's two present-tense lines and test_vocab's rows together.remove(suffix_acronyms={'ma'})now offerslexicon.remove('ma', kind='credential'), keeping the Filipinosame_as='maría'. The translator first tries leaving alone a kind one of whose readings already holds what is wanted, keeping the exact-compile check, and it carries a heldsame_asthrough. The 2.x pickle path keeps its old skip.Lexicon(surnames={'kim'}, titles={'dr'})offersLexicon(surnames={'kim'}).add(...), so the offered code no longer calls an unboundlexicon.replaceof an edited lexicon, andma. Three of the rows fail on the pre-fix code.family_base,family_particles,surnames,given_names,as_dict,Lexicon.default,Lexicon.emptyandPolicyPatch.two_given_names, so autodoc renders them.nameparser.locales.jacross-reference is fixed.Checks
uv run pytestpasses on 3.11 and 3.15: 37,279 passed, 29 skipped, 5 xfailed. The-n0 -m serialpass also passes (54).uv run mypyanduv run ruff checkare clean.sphinx-build -b doctestgives 0 failures, and-b htmlgives no warnings.uv.lockpins namedivider-python 0.4.2, the latest on PyPI.Per-region lists, declined
locales.ES.locales.ESby more than 0.06 point, Peru's;Not in scope here, as planned: the moved-names report, release notes (including the 3.0 entry's "under development" line),
CITATION.cff, the version, the tag and the pickle check.🤖 Generated with Claude Code