Message261739
Steps to reproduce
1. create a format_bytes.py with:
"Hello {}".format(b"World")
2. launch it with
python3 -bb format_bytes.py
Result:
Traceback (most recent call last):
File "format_bytes.py", line 1, in <module>
"Hello {}".format(b"World")
BytesWarning: str() on a bytes instance
Expected:
No warning |
|
Date |
User |
Action |
Args |
2016-03-14 10:29:53 | marco.sulla | set | recipients:
+ marco.sulla |
2016-03-14 10:29:53 | marco.sulla | set | messageid: <1457951393.78.0.559454400626.issue26555@psf.upfronthosting.co.za> |
2016-03-14 10:29:53 | marco.sulla | link | issue26555 messages |
2016-03-14 10:29:53 | marco.sulla | create | |
|