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
fix: strip internal periods before suffix_acronyms check in parse_nicknames
handle_match() checked stripped (lc()-only, leading/trailing periods
stripped) against suffix_acronyms, unlike is_suffix() which also
strips internal periods. This meant an acronym suffix like "M.D"
(periods between letters, no trailing period) fell through to
nickname_list instead of being recognized as a suffix. Found during
PR review by the pr-test-analyzer subagent.
Also adds the release_log.rst entries for this fix, per CLAUDE.md's
maintenance requirement, flagged by the code-reviewer subagent.
Copy file name to clipboardExpand all lines: docs/release_log.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ Release Log
7
7
to 1.2.1 first (which includes a one-version compatibility shim), load and
8
8
re-pickle under 1.2.1, then upgrade to 1.3.0.
9
9
10
+
- Fix suffix-shaped parenthesized/quoted content (e.g. ``"(Ret)"``, ``"(MBA)"``) being misclassified as a nickname instead of a suffix (closes #111)
11
+
- Add ``suffix_acronyms_ambiguous`` to ``Constants`` for acronym suffixes that also read as given-name nicknames (e.g. ``"JD"``, ``"Ed"``), used when disambiguating parenthesized/quoted content (#111)
12
+
- Fix missing comma between ``'msc'`` and ``'mscmsm'`` in ``suffix_acronyms``, which silently concatenated them into a bogus ``'mscmscmsm'`` entry (#111)
10
13
- Add ``given_names`` (and ``given_names_list``) attribute as aggregate of first and middle names, mirroring ``surnames`` (closes #157)
11
14
- Add ``suffix_delimiter`` to ``Constants`` and ``HumanName`` for parsing suffixes separated by arbitrary delimiters, e.g. ``"RN - CRNA"`` (#156)
12
15
- Add ``initials_separator`` to ``Constants`` and ``HumanName`` to control spacing between consecutive initials within a name group (#171)
0 commit comments