This commit resolves all outstanding duplicate label
and duplicate citation warnings.
I have not yet addressed unreferenced footnote warnings.
I took the general strategy of replacing a target above a section heading
with references directly to that section heading,
or where impractical, disambiguting the target with ``PEP NNN``.
I also converted all the citations in PEP 482 to links,
as they were causing duplicate citation warnings.
Changes detected by Topy (https://github.com/intgr/topy), all changes
verified by hand, false positives have been omitted.
These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.
* requires that all uses of bare names be qualified with the user's intent
* ensures that all name binding operations in patterns use the as keyword
* drops alignment with iterable unpacking syntax (always requires square brackets)
* drops alignment with class instantiation syntax (defines a new dedicated instance attribute matching syntax instead)
* Equality prefix changes from '?' to '=='
* Identity prefix changes from '?is" to 'is'
* Wildcard marker reverts to '_'
* Syntactic shorthands from PEP 634 are mostly kept,
but only as syntactic sugar for the explicit forms
* AST changes allow most match-specific code to be
dropped from the compiler
* Add the planned post date for this version
* Set initial post date
* Remove most of the caveats on the reference implementation
(the PEP 634 test cases have been adjusted as necessary to
pass, and new PEP 642 specific test cases added)
* Additional subsection in Deferred Ideas for negated constraints
* Add notes on PEP 635's concerns about potential semantic confusion
between assignment targets and pattern matching
* Assorted final pre-publication tweaks
* add explicit syntax for identity constraints
* reject literal patterns (with rationale)
* reorder rejected ideas to put unpublished ideas last
* add containment constraints as a deferred idea
* update some details based on draft implementation status
* misc ReST formatting fixes and other text fixes
A counter-proposal that mostly endorses PEP 634, but
proposes an explicit marker prefix based alternative to
PEP 634's approach where attribute lookups are
processed as value constraints while simple names
are capture patterns.