[Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Apr 24 19:39:15 CEST 2009
- Previous message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Next message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stephen J. Turnbull <stephen xemacs.org> writes:
Well, the problem is that both parts are false. If you didn't start with a valid string in a known encoding, you shouldn't treat it as characters because it's not. Hand it to a careful API, and you'll get an Exception raised in your face.
Which "careful API" are you talking about?
OTOH, at least some of those who feel lucky and use it naively are going to turn out to be wrong.
Why will they turn out to be wrong?
- Previous message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Next message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]