[Python-3000] pyexpat: returns_unicode str/unicode branch

Fred L. Drake, Jr. fdrake at acm.org
Sun Jul 22 15:50:51 CEST 2007


On Sunday 22 July 2007, Joe Gregorio wrote:
 > Along the same lines, since all strings are now unicode,
 > should "returns_unicode" be dropped from xmlparser objects?
 > That is, the handler functions will always be passed unicode
 > strings and not utf-8 bytes.
Yes. This was always a backward-compatibility point, but it's been a long 
time since the default was to return UTF-8.
 -Fred
-- 
Fred L. Drake, Jr. <fdrake at acm.org>


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /