PEP 622: Mention that many scripts don't distinguish case

Fixes #1518
This commit is contained in:
Guido van Rossum 2020-07-09 17:41:41 -07:00
parent f43058cab2
commit 1317e46695
1 changed files with 2 additions and 0 deletions

View File

@ -1500,6 +1500,8 @@ ambiguous with capture patterns. Five other alternatives were considered:
This works well with the recommendations for naming constants from
PEP 8. The main objection is that there's no other part of core
Python where the case of a name is semantically significant.
In addition, Python allows identifiers to use different scripts,
many of which (e.g. CJK) don't have a case distinction.
* Use extra parentheses to indicate lookup semantics for a given name. For
example::