Getting rid of bitwise operators in Python 3?
fakeaddress at nowhere.org
Sat Sep 22 23:17:38 CEST 2007
richyjsm at gmail.com wrote:
> Bryan Olson wrote:
>> One surprising result was that more of the Python
>> programmers surveyed use bitwise operators than are aware
>> of the exponentiation operator, which C does not offer.
> On that subject, I'd suggest that the pow() builtin (not the **
> operator - just the pow() function) should also be a candidate for
A darn good candidate, I'd say. I'm biased because I once took
quite a while to figure out that importing the math module's
'pow' was how I broke my code.
The operator module offers pow(). Is there any good reason for
pow() as a built-in?
More information about the Python-list