[Python-3000] pyexpat: returns_unicode str/unicode branch (original) (raw)
Fred L. Drake, Jr. fdrake at acm.org
Sun Jul 22 15:50:51 CEST 2007
- Previous message: [Python-3000] pyexpat: returns_unicode str/unicode branch
- Next message: [Python-3000] str/uni - test_pyexpat.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-3000] pyexpat: returns_unicode str/unicode branch
- Next message: [Python-3000] str/uni - test_pyexpat.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]