[issue24892] bytes.join() won't take it's own type as the argument

Brett Cannon report at bugs.python.org
Wed Aug 19 18:09:14 CEST 2015


Brett Cannon added the comment:

I agree with David. Concatenating ints to a bytes object doesn't work when you directly work with ints and bytes, and so I don't think bytes.join should special case it (Zen of Python: "Special cases aren't special enough to break the rules").

Thanks for the idea anyway, Timothy.

----------
nosy: +brett.cannon
resolution:  -> rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list