Flexible string representation, unicode, typography, ...

Serhiy Storchaka storchaka at gmail.com
Mon Sep 3 11:41:50 EDT 2012


On 03.09.12 04:54, Steven D'Aprano wrote:
> This means that Python 3.3 will no longer have surrogate pairs.
>
> Am I right?

As Terry said, basically, yes. Python 3.3 does not need in surrogate 
pairs, but does not prevent their creation. You can create a surrogate 
code (U+D800..U+DFFF) intentionally (as you can create a single accent 
modifier or other senseless alone charcode), but less likely that you 
will get them unintentionally.





More information about the Python-list mailing list