[Python-Dev] Decoder functions accept str in py3k (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Wed Jan 7 19:32:11 CET 2009
- Previous message: [Python-Dev] Decoder functions accept str in py3k
- Next message: [Python-Dev] Decoder functions accept str in py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
M.-A. Lemburg <mal egenix.com> writes:
No, that's something I explicitly readded to Python 3k, since the codecs interface is independent of the input and output types (the codecs decide which combinations to support).
But why would the utf8 decoder accept unicode as input?
- Previous message: [Python-Dev] Decoder functions accept str in py3k
- Next message: [Python-Dev] Decoder functions accept str in py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]