[issue30762] Misleading message “can't concat bytes to str”

2017-10-24 Thread Berker Peksag
Change by Berker Peksag : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue30762] Misleading message “can't concat bytes to str”

2017-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This already is fixed in issue29116. >>> b'a' + 'a' Traceback (most recent call last): File "", line 1, in TypeError: can't concat str to bytes -- nosy: +serhiy.storchaka resolution: -> out of date ___ Python t

[issue30762] Misleading message “can't concat bytes to str”

2017-06-26 Thread Antoine Pietri
Changes by Antoine Pietri : -- components: +Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue30762] Misleading message “can't concat bytes to str”

2017-06-26 Thread Antoine Pietri
Changes by Antoine Pietri : -- pull_requests: +2447 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30762] Misleading message “can't concat bytes to str”

2017-06-26 Thread Antoine Pietri
New submission from Antoine Pietri: >>> b'a' + 'a' Traceback (most recent call last): File "", line 1, in TypeError: can't concat bytes to str This error message is misleading because it is reversed: what is really happening is that we're concatenating str to bytes! When you say "attach A t