commit | 330aafb0c2741aff0f63ce82d1bcca6e0862cf30 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 15 17:27:35 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 15 17:27:35 1997 +0000 |
tree | 25ba8ec191755e395410c3a4a621ea3d3e9789ad | |
parent | 30da0ea1243955e7f2ab1c85f45e2c20ae1f3c56 [diff] |
For base 10, cast unsigned long to long before testing overflow. This prevents 4294967296 from being an acceptable way to spell zero!