Getting rid of bitwise operators in Python 3?

Carl Banks pavlovevidence at gmail.com
Sat Sep 22 01:32:37 EDT 2007


On Sat, 22 Sep 2007 05:06:42 +0000, Stargaming wrote:
> On Fri, 21 Sep 2007 23:44:00 -0400, Carl Banks wrote:
> 
>> Anyone with me here?  (I know the deadline for P3 PEPs has passed; this
>> is just talk.)
>> 
>> Not many people are bit-fiddling these days.
> 
> Why did we invent the `binary literals`_ (0b101) then?

Hah, good point.

Ironic that base-2 literals are going into Python, but have never been a 
standard part of C where they would be a LOT more useful.


Carl Banks



More information about the Python-list mailing list