Serhiy Storchaka added the comment:

PR 709 fixes the order of types for concatenating bytes and and bytearray. 
b''+0 will raise "can't concat str to bytes" rather than "can't concat bytes to 
str".

PR 710 makes error message for str concatenation more informative and similar 
to error messages for list, tuple, deque, array. '' + b'' will raise "can only 
concatenate str (not "bytes") to str" rather than "must be str, not bytes".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to