Author serhiy.storchaka
Recipients Jim Fasarakis-Hilliard, levkivskyi, ned.deily, rhettinger, serhiy.storchaka, terry.reedy, xiang.zhang
Date 2017-03-18.10:25:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489832736.7.0.73648731506.issue29116@psf.upfronthosting.co.za>
In-reply-to
Content
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".
History
Date User Action Args
2017-03-18 10:25:36serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, terry.reedy, ned.deily, levkivskyi, xiang.zhang, Jim Fasarakis-Hilliard
2017-03-18 10:25:36serhiy.storchakasetmessageid: <1489832736.7.0.73648731506.issue29116@psf.upfronthosting.co.za>
2017-03-18 10:25:36serhiy.storchakalinkissue29116 messages
2017-03-18 10:25:36serhiy.storchakacreate