[Python-Dev] methods on the bytes object

"Martin v. Löwis" martin at v.loewis.de
Sun Apr 30 12:06:15 CEST 2006


Josiah Carlson wrote:
> Specifically in the case of bytes.join(), the current common use-case of
> <literal>.join(...) would become something similar to
> bytes(<literal>).join(...), unless bytes objects got a syntax... Or
> maybe I'm missing something?

I think what you are missing is that algorithms that currently operate
on byte strings should be reformulated to operate on character strings,
not reformulated to operate on bytes objects.

Regards,
Martin


More information about the Python-Dev mailing list