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

How do you return a file in the happy path when using a context manager?

If you can't, it's not remotely "basically the same as C++ RAII".



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

Search: