]> granicus.if.org Git - python/commit
Issue #8259: Get rid of 'outrageous left shift count' error when
authorMark Dickinson <dickinsm@gmail.com>
Tue, 6 Apr 2010 16:46:09 +0000 (16:46 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 6 Apr 2010 16:46:09 +0000 (16:46 +0000)
commit3ec9b942b5536e3fc597a065851750e01025b6f1
tree991fce0269facbc6ffa43039be076b306a945c13
parent72ec2e2bdf4a861b85ed7e4b038b134d8b4e4ea4
Issue #8259: Get rid of 'outrageous left shift count' error when
left-shifting an integer by more than 2**31 on a 64-bit machine.  Also
convert shift counts to a Py_ssize_t instead of a C long.
Objects/longobject.c