[Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

Antoine Pitrou solipsis at pitrou.net
Fri Apr 24 19:39:15 CEST 2009

Stephen J. Turnbull <stephen <at> 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?

More information about the Python-Dev mailing list