Message113694
>>> int('\xA11')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa1 in position 0: invalid start byte
This is inconsistent with other number types' behavior:
>>> float(b'\xA1')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: could not convert string to float: � |
|
Date |
User |
Action |
Args |
2010-08-12 17:52:39 | belopolsky | set | recipients:
+ belopolsky, mark.dickinson |
2010-08-12 17:52:38 | belopolsky | set | messageid: <1281635558.42.0.560480502776.issue9578@psf.upfronthosting.co.za> |
2010-08-12 17:52:36 | belopolsky | link | issue9578 messages |
2010-08-12 17:52:36 | belopolsky | create | |
|