Newbie: unsigned shift right

Sal here at
Wed Mar 26 22:42:31 CET 2008

Is there any way to do an unsigned shift right in Python? When I enter
(-1>>1) the answer is -1. What I'm looking for is the equivalent of an
unsigned shift in C or the ">>>" operator in Java.

More information about the Python-list mailing list