[Python-Dev] return type of __complex__

Chris Angelico rosuav at gmail.com
Sun Oct 21 08:17:58 CEST 2012


On Sun, Oct 21, 2012 at 5:11 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Devin Jeanpierre wrote:
>>
>> (Complex
>> numbers get a free pass because "complex numbers with rational real
>> and imaginary parts" is not a memorable name for a type.)
>
> Complexional?

"Oh is there not one maiden here
Whose homely face and bad complexion
Have caused all hope to disappear
Of ever winning man's affection?"

I'm hoping your name was a joke, because it's rather unwieldy. But
really, computers are no different from anything else; they have to
represent numbers somehow. That pretty much means it has to be
rational, as it's awkward trying to do arithmetic with surds floating
around everywhere.

ChrisA


More information about the Python-Dev mailing list