On 6/12/07, Rauli Ruohonen <[EMAIL PROTECTED]> wrote: > Another example would be unichr(), which gives you TypeError if you > pass it a surrogate pair (oddly enough, as strings of different length > are of the same type).
Sorry, I meant ord(), not unichr. Anyway, ord(unichr(i)) == i doesn't work for all code points on a UCS-2 build. _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
