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

There is also this: f = lambda: g();g=(f)

Which produce a 'RuntimeError: maximum recursion depth exceeded'; But that's only because my computer is not powerful enough :)



And it's even shorter than the yield one.




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

Search: