complex() bug or feature?

Michael Hudson mwh at python.net
Thu Nov 8 09:08:47 EST 2001


Carsten Gaebler <clpy at snakefarm.org> writes:

> Well, where exactly is the bug? Should the docs read 'If _real_ is a
> string, _imag_ is ignored and defaults to zero', or should the
> implementation raise an exception because it violates the docs? I'd
> prefer the latter.

That what the patch I just submitted to sf does :)

Cheers,
M.

-- 
  Make this IDLE version 0.8.  (We have to skip 0.7 because that 
  was a CNRI release in a corner of the basement of a government 
  building on a planet circling Aldebaran.)
                             -- Guido Van Rossum, in a checkin comment



More information about the Python-list mailing list