[Python-Dev] a suggestion ... Re: PEP 383 (again)
"Martin v. Löwis"
martin at v.loewis.de
Thu Apr 30 14:25:28 CEST 2009
> Why didn't you point to that discussion from the PEP 383? And why
> didn't you point to Kowalczyk's message on encodings in Mono, Java, etc.
> from the PEP?
Because I assumed that readers of the PEP would know (and I'm sure
many of them do - this has been *really* discussed over and over again).
> Under the set of constraints that Guido imposes, plus the requirement
> that round-trip works for illegal encodings, there is no other solution
> than PEP 383.
Well, there actually is an alternative: expose byte-oriented interfaces
in parallel with the string-oriented ones. In the rationale, the PEP
explains why I consider this the worse choice.
Regards,
Martin
More information about the Python-Dev
mailing list