Q: Python 2.0 preliminary features?

Tres Seaver tseaver at starbase.neosoft.com
Fri Oct 29 13:43:17 EDT 1999


In article <7vae8b$jt7$1 at nntp.Stanford.EDU>,
Amit Patel <amitp at Xenon.Stanford.EDU> wrote:

>Taken separately, each module is great.  It defines the new type's
>interaction with the built in numeric types.
>
>But together, who defines what it means to do complex+rational?  There
>are gaps in the dispatch table.  If gaps lead to coercions, who
>decides if complex can be coerced to rational or if rational can be
>coerced to complex?
>
>With multiple dispatch it seems like you can't combine independently
>written modules without writing some "glue".  The person using the
>modules may not be qualified to make those decisions.  :-(

You can't remove the responsibility for resolving this problem from the
only player who has enough information to solve it, merely by claiming
that player "may not be qualified."  Caveat mixor has to apply, period.

-- 
---------------------------------------------------------------
Tres Seaver           tseaver at palladion.com       713-523-6582
Palladion Software    http://www.palladion.com




More information about the Python-list mailing list