commit | 80dc16baaa063e442442bfad5626ddd8d9abb6b2 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon May 08 14:02:41 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon May 08 14:02:41 2000 +0000 |
tree | 26a8680d276c47902c682aeb7a5ab651655eb234 | |
parent | 07bd90e92d9cb8982ad541dda59bc0f8867e9414 [diff] |
Trent Mick: Changes the 'b', 'h', and 'i' formatters in PyArg_ParseTuple to raise an Overflow exception if they overflow (previously they just silently overflowed). Changes by Guido: always accept values [0..255] (in addition to [CHAR_MIN..CHAR_MAX]) for 'b' format; changed some spaces into tabs in other code.