[issue36228] Add function to complex object

2019-03-07 Thread Josh Rosenberg
Josh Rosenberg added the comment: They already have a .real attribute to extract the real part, which you can call int on. I suspect the lack of support for float/int coercion is intentional; coercing float to int loses precision, but it's still a fundamentally similar value. Implicitly drop

[issue36228] Add function to complex object

2019-03-07 Thread Марат Нагаев
Change by Марат Нагаев : -- title: Add function to complex objectf -> Add function to complex object ___ Python tracker ___ ___ Pytho