[issue27412] float('∞') returns 8.0

2016-06-29 Thread David Howlett
New submission from David Howlett: float('inf') returns a float with a value of inf float('∞') returns a float with a value of 8.0 I can't think of any justification for returning 8.0 other then ∞ looks like an 8 turned sideways. I believe float('∞') should

[issue27412] float('∞') returns 8.0

2016-06-29 Thread David Howlett
David Howlett added the comment: I am using python 3.5 in a REPL in an IDE called Komodo running on Windows. After reading your comments I wrote the following python file: try: x = float('∞') except ValueError: print('Value error was correctly thrown') This throws

[issue27412] float('∞') returns 8.0

2016-06-29 Thread David Howlett
David Howlett added the comment: I am sorry about misattributing this bug and wasting your time. I have opened two new bugs against Komodo: https://github.com/Komodo/KomodoEdit/issues/1760 https://github.com/Komodo/KomodoEdit/issues/1759 They are looking into it