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

It's not a "bug" if the behavior is intended.

I just tested the example with Version 2.5, and it returns 4. Version 2.2.2 is over six years old: http://www.python.org/download/releases/2.2.2/



FWIW, both Scheme and JavaScript have the same behavior as Python 2.5




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

Search: