[Tutor] A bug or a feature - complex arguments in special
ebrosh at nana.co.il
Mon Apr 2 11:33:54 CEST 2007
Alan G wrote:
>It would be good if you could include the error text.
>However, did you try putting the complex number in parens?
>or assigning to a variable and then pass the variable into the call?
Well, the error message is not from Pytho but from the operating system (windows XP).
It says "pythonw.exe has encountered a problem and needs to close. We are sorry for the inconvenience."
The IDLE does not close but it is restarted:
There appears a line: >>> ================================ RESTART ================================
I tried to assign the argument to a variable:
>>>from scipy import *
>>> ================================ RESTART ================================
The results are still the same: when the variable is real, the result is correct.
When the variable is comlex, the program crashes.
Is it a bug ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor