[Python-ideas] Adding 'bytes' as alias for 'latin_1' codec.
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue May 31 09:32:18 CEST 2011
Stephen J. Turnbull wrote:
> But even as a separate type, 'ascii' still can't mix with bytes
> safely,
Yes, it can, because it's also bytes. :-)
If you're using the special ascii type at all, rather
than an ordinary str, it's precisely because you want
to mix it with bytes. Making that part hard would
defeat the purpose,
--
Greg
More information about the Python-ideas
mailing list