Hacker News new | past | comments | ask | show | jobs | submit login

Python 3.0 fixes this with the nonlocal statement. However, you are correct that this doesn't work in Python 2.5 and earlier.



Ok, thanks.




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

Search: