python: bug or feature?

Keith Murphy kpmurphy at my-deja.com
Thu Aug 10 10:13:15 EDT 2000


thank you, everyone, for your help.

-->keith

In article <m3snsdie1t.fsf at greebo.nodomain.de>,
  Bernhard Herzog <herzog at online.de> wrote:
>
> hzhu at localhost.localdomain (Huaiyu Zhu) writes:
>
> > This just shows that the current arrangements of logical operators
and
> > bitwise operators is a misfeature.  Bitwise operations do not
deserve
> > cryptic symbols,
>
> But matrix operations do? ;-)
>
> > especially ones with their own precedence levels. :-)
>
> What does the precedence have to do with it? That's something Python
got
> right. Unlike C, where bitwise operators have the same precedence as
the
> logical operators which is lower than the precedence of the
comparisons.
> All that because by the time the distinction of logical and bitwise
> boolean oerators was introduced they already had too many (ISTR 40)
> users to make incompatible changes.
>
> --
> Bernhard Herzog   | Sketch, a drawing program for Unix
> herzog at online.de  | http://sketch.sourceforge.net/
>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list