sigh. never resync the CVS repository until you've fixed all bugs in your *own* code ;-) in 1.5.2: >>> array.array("h", [65535]) array('h', [-1]) >>> array.array("H", [65535]) array('H', [65535]) in the current CVS version: >>> array.array("h", [65535]) Traceback (most recent call last): File "<stdin>", line 1, in ? OverflowError: signed short integer is greater than maximum okay, this might break some existing code -- but one can always argue that such code were already broken. on the other hand: >>> array.array("H", [65535]) Traceback (most recent call last): File "<stdin>", line 1, in ? OverflowError: signed short integer is greater than maximum oops. dunno if the right thing would be to add support for various kinds of unsigned integers to Python/getargs.c, or to hack around this in the array module... </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4