Message219793
| Author |
ncoghlan |
| Recipients |
docs@python, ncoghlan |
| Date |
2014年06月05日.11:02:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1401966142.97.0.682653322291.issue21667@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Based on the recent python-dev thread, I propose the following "CPython implementation detail" note in the "Strings" entry of https://docs.python.org/3/reference/datamodel.html#objects-values-and-types
"CPython currently guarantees O(1) access to arbitrary code points when indexing and slicing a string. Python implementations are required to index and slice strings as arrays of code points, but are not required to guarantee O(1) access to arbitrary locations within the string. This allows implementations to use variable width encodings for their internal string representation." |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年06月05日 11:02:23 | ncoghlan | set | recipients:
+ ncoghlan, docs@python |
| 2014年06月05日 11:02:22 | ncoghlan | set | messageid: <1401966142.97.0.682653322291.issue21667@psf.upfronthosting.co.za> |
| 2014年06月05日 11:02:22 | ncoghlan | link | issue21667 messages |
| 2014年06月05日 11:02:22 | ncoghlan | create |
|