[docs] [issue21667] Clarify status of O(1) indexing semantics of str objects
report at bugs.python.org
Thu Jun 5 13:17:54 CEST 2014
Nick Coghlan added the comment:
Saying that ord() and chr() switch between characters and code points is just plain wrong, since characters may be represented as multiple code points.
We may also want to explicitly note that the Unicode normalisation is implementation dependendent, and that CPython doesn't normalise implicitly except where specifically noted (i.e. during lexical analysis).
Python tracker <report at bugs.python.org>
More information about the docs