Issue222807

classification
Title: complex(someString) bug
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:00:23 by bckfnn, last changed 2000-11-18.22:18:47 by bckfnn.

Messages
msg52 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:00:23
complex does not work on strings as it does in CPython:

>>> complex("1.1+1j")
Traceback (innermost last):
  File "<console>", line 1, in ?
AttributeError: __complex__

msg53 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.22:18:47
Fixed in PyString. But since I don't know anything about complex numbers it may very well be wrong. 
History
Date User Action Args
2000-11-18 19:00:23bckfnncreate