[Python-Dev] return type of __complex__
Chris Angelico
rosuav at gmail.com
Sun Oct 21 04:40:02 CEST 2012
More information about the Python-Dev mailing list
Sun Oct 21 04:40:02 CEST 2012
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Oct 21, 2012 at 1:38 PM, Chris Angelico <rosuav at gmail.com> wrote: > Python 2 (future directives aside) also required you to explicitly ask > for floating point. That was also changed in Python 3. Er, should have said that I was referring to division here... incomplete information. Anyway. Py3 says that int/int --> float is acceptable, so float**float --> complex is equally plausible. ChrisA
- Previous message: [Python-Dev] return type of __complex__
- Next message: [Python-Dev] return type of __complex__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list