Message83159
Here is another case, which I think is even worse.
Range checks are done inconsistently as well:
.../trunk> ./python -c 'import struct; struct.pack("B", 257)
'Traceback (most recent call last):
File "<string>", line 1, in <module>
struct.error: ubyte format requires 0 <= number <= 255
.../trunk> ./python -c 'import struct; struct.pack(">B", 257)'
sys:1: DeprecationWarning: 'B' format requires 0 <= number <= 255 |
|
Date |
User |
Action |
Args |
2009-03-04 23:01:56 | isandler | set | recipients:
+ isandler, hagen |
2009-03-04 23:01:56 | isandler | set | messageid: <1236207716.8.0.737356957984.issue5198@psf.upfronthosting.co.za> |
2009-03-04 23:01:55 | isandler | link | issue5198 messages |
2009-03-04 23:01:54 | isandler | create | |
|