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

Could probably use contextlib to simplify the implementation a bit: http://docs.python.org/library/contextlib.html. Indeed HTML generation is the first example.


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

Search: