Any other Python flaws?

Chris Barker chrishbarker at home.net
Thu Jun 14 18:13:52 EDT 2001


The fact that you can not override boolean operators: and, or, not,
others?

I'm glad I can now write:

a > b 

and have the result be determined by the classes of a and b, but I
really want to also be able to write:

(a > b) and (c > d)

NumPy is the obvious case for using this, but I'm sure there are other
uses as well.

-Chris


-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker at home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------



More information about the Python-list mailing list