[issue8662] bytes join cannot join bytes

Timothy Pederick report at bugs.python.org
Sat May 8 21:21:57 CEST 2010


Timothy Pederick <pederick at gmail.com> added the comment:

Brett: Well, I was more thinking along the lines of making join() recognise when it's been passed a bytes object, rather than changing the semantics of indexing bytes. That would be a bit overdramatic!

But if it's wontfix, it's wontfix.

Antoine: Yes, the str example was just for comparison, since the behaviour of bytes is generally supposed to be the same as str. (But I'm sure I could think of some silly examples where it could be used.) The bytes problem actually came up in code I was writing... though I later ripped it out and did it differently...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8662>
_______________________________________


More information about the Python-bugs-list mailing list