Message374148
> AIUI (though I could be misunderstanding things) `str` objects do use some kind of typed array of unicode characters (either 16-bit narrow or 32-bit wide).
It's somewhat more complicated. The string data is stored differently depending on the maximum code point in the string. See PEP 393.
The "kind" field describes this as:
1 byte (Latin-1)
2 byte (UCS-2)
4 byte (UCS-4) |
|
Date |
User |
Action |
Args |
2020-07-23 21:51:21 | eric.smith | set | recipients:
+ eric.smith, jakirkham |
2020-07-23 21:51:21 | eric.smith | set | messageid: <1595541081.43.0.376554868386.issue41377@roundup.psfhosted.org> |
2020-07-23 21:51:21 | eric.smith | link | issue41377 messages |
2020-07-23 21:51:21 | eric.smith | create | |
|