On Mon, Mar 22, 2010 at 12:26, Mark Dickinson <dicki...@gmail.com> wrote: > I don't want to let the abstractions of the numeric tower get in the > way of the practicalities: we should modify the abstractions if > necessary! In particular, it's not clear to me that all numeric types > have to be comparable with each other. It might make sense for > Decimal + complex mixed-type operations to be disallowed, for example.
Only until a needy user breaks out the duck tape and builds a ComplexDecimal type. ;) The nature of the beast is more will be added on later. So long as Decimal == complex works right I don't see a problem with Decimal + complex raising an exception. -- Adam Olsen, aka Rhamphoryncus _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com