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
Multi-agent review of PR #190 caught a critical regression: snapshotting
quoted_word/double_quotes/parenthesis into nickname_delimiters at
Constants.__init__ time silently broke the pre-existing, documented
customization path of overriding CONSTANTS.regexes.parenthesis (etc.)
and re-parsing, since the snapshot never saw later changes to regexes.
parse_nicknames() now reads the three built-ins live from self.C.regexes
(restoring that override path) and additionally iterates a renamed,
initially-empty extra_nickname_delimiters collection for new patterns,
matching what issue #112 actually asked for (add, not replace).
Also: added extra_nickname_delimiters to conftest.py's autouse
snapshot/restore list (it was missing, so mutating the global CONSTANTS
copy in a test would have leaked into later tests), added regression/
removal/pickle-roundtrip/suffix-interaction tests, and fixed the stale
parse_nicknames() docstring.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments