You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some attributes that should be implemented for gpython.
Expected
>>>a=True>>>a.imag0>>>a.real1>>>a.conjugate()
1
Actual
>>>a=True>>>a.imageTraceback (mostrecentcalllast):
File"<stdin>", line1, in<module>FIXMElineofsourcegoeshereAttributeError: "'bool' has no attribute 'image'">>>a.realTraceback (mostrecentcalllast):
File"<stdin>", line1, in<module>FIXMElineofsourcegoeshereAttributeError: "'bool' has no attribute 'real'">>>a.conjugate()
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>FIXMElineofsourcegoeshereAttributeError: "'bool' has no attribute 'conjugate'"
Activity
corona10 commentedon Sep 9, 2019
@ncw I am going to assign this issue to the contributhon 2019 participants
parkchansoo commentedon Sep 9, 2019
I want to take a look at this issue 🙌
corona10 commentedon Sep 9, 2019
@parkchansoo
Please go ahead.
Here is a similar code you have to look at.
gpython/py/complex.go
Line 300 in 7bc4005