[Python-Dev] Complex detection

Paul F. Dubois paul@pfdubois.com
Fri, 13 Apr 2001 14:47:45 -0700


My understanding is that Python can be built without complex numbers to
satisfy the needs of the Python-on-a-wristwatch crowd. Is there a run-time
way to tell? For example, using an imaginary literal causes an error? If so,
what kind?

I'm finishing the reference implementation for PEP 242 and want to allow for
this possibility.