cmath, __float__ and __complex__

Ziga Seilnacht ziga.seilnacht at gmail.com
Fri Feb 16 17:15:05 EST 2007


Mark Dickinson wrote:

> Does anyone know of a good reason for the above behaviour?  Would a
> patch to complexobject.c that `fixes' this be of any interest to
> anyone but me?  Or would it likely break something else?

I think this is a bug in the PyComplex_AsCComplex function. To get
more feedback, submit your patch to the Python patch tracker:
http://sourceforge.net/patch/?group_id=5470

Patch submission guidelines can be found here:
http://www.python.org/dev/patches/

Ziga




More information about the Python-list mailing list