Message270058
Now, `sys.maxsize+1 in b'foo'` raises "TypeError: 'int' does not support the buffer interface" which seems weird. In such case, I don't think there is any difference between sys.maxsize+1 and 256. So I suggest make it emits the same exceptions as `256 in b'foo'`, "ValueError: byte must be in range(0, 256)". |
|
Date |
User |
Action |
Args |
2016-07-09 17:42:39 | xiang.zhang | set | recipients:
+ xiang.zhang, serhiy.storchaka |
2016-07-09 17:42:39 | xiang.zhang | set | messageid: <1468086159.4.0.976753811511.issue27474@psf.upfronthosting.co.za> |
2016-07-09 17:42:39 | xiang.zhang | link | issue27474 messages |
2016-07-09 17:42:39 | xiang.zhang | create | |
|