Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Implicit string and unicode conversions were confusing in Python 2.

True + True evaluates to 2, although that is technically not a type conversion.



True + True is still 2 in Python 3.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: