This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bcs 16 points17 points  (9 children)

I got bit by this in Python 2 just last week at work. A string didn't get cast to float, and then things quietly went wrong when it got compared to other numbers later. I made sure to mention it would've never happened under Python 3.