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

I suspect because it's easier to implement defaults as values than as expressions.

The scoping of list comprehensions in Python 2 was far less justifiable, IMO.



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

Search: