This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author isandler
Recipients hagen, isandler
Date 2009-03-04.23:01:54
SpamBayes Score 6.855836e-08
Marked as misclassified No
Message-id <1236207716.8.0.737356957984.issue5198@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-03-04 23:01:56isandlersetrecipients: + isandler, hagen
2009-03-04 23:01:56isandlersetmessageid: <1236207716.8.0.737356957984.issue5198@psf.upfronthosting.co.za>
2009-03-04 23:01:55isandlerlinkissue5198 messages
2009-03-04 23:01:54isandlercreate