Author pitrou
Recipients flox, meador.inge, ncoghlan, petri.lehtinen, pitrou
Date 2011-11-03.02:25:51
SpamBayes Score 1.4267e-11
Marked as misclassified No
Message-id <>
I think the current behaviour is fine, in that the alternatives are not better at all. In the absence of a type inherently "superior" to the others (as float can be to int, except for very large integers :-)), it makes sense to keep the type of the left-hand argument.

Note that .join() has a slightly different behaviour:

>>> b"".join([bytearray(), b""])
>>> bytearray().join([bytearray(), b""])
>>> b"".join([bytearray(), memoryview(b"")])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: sequence item 1: expected bytes, memoryview found
Date User Action Args
2011-11-03 02:25:52pitrousetrecipients: + pitrou, ncoghlan, flox, meador.inge, petri.lehtinen
2011-11-03 02:25:52pitrousetmessageid: <>
2011-11-03 02:25:51pitroulinkissue13298 messages
2011-11-03 02:25:51pitroucreate