Does Python need a '>>>' operator?

Martin v. Loewis martin at v.loewis.de
Sat Apr 13 18:38:36 EDT 2002


"Ken Peek" <Ken.Peek at SpiritSongDesigns.comNOSPAM> writes:

> Since Python does not have unsigned numbers, I think Python should
> have a (Java-like) '>>>' operator.  The '>>>' means
> 'logical-shift-right', where a zero is copied into the high bit.

Since the Python int and long int types are going to be merged, I
doubt that this will be added to the language.

One might question whether the bitwise operators should have been
there in the first place - functions can do the same things just as
well.

Regards,
Martin




More information about the Python-list mailing list