Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Draft saved
Draft discarded
Cancel
3
  • 1
    Nice find. Filed a bug? Commented Mar 21, 2020 at 17:13
  • 8
    The documentation about Identifiers and keywords states: "All identifiers are converted into the normal form NFKC while parsing; comparison of identifiers is based on NFKC.". That could be the reason. Commented Mar 21, 2020 at 17:17
  • 4
    @Matthias Yeah that seems to be it. You can reproduce the behaviour without kwargs: Σ = 0; Σ -> 0. And just to confirm the normal form, unicodedata.normalize('NFKC', 'Σ') -> 'Σ'. Commented Mar 21, 2020 at 17:28

lang-py

AltStyle によって変換されたページ (->オリジナル) /