* Talin <[EMAIL PROTECTED]> [2006-05-02 22:20:51 +0000]:

> Although if you are supporting surrogates, then __getitem__ and __getslice__
> won't be O(1), will they? That's why I asked about UCS-2, which is what I

Unfortunately, if Python is compiled with 16-bit storage for unicode
characters, then the surrogates are exposed, and a surrogate pair will
appear as two separate characters.

> use in my work -- which is another way of saying that we've punted on the
> issue of surrogates.

Not sure if Python's treatment of this would be considered punting or
not ;)
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to