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

it's just too weird and open-ended.

the next thing will be a bunch of "open" functions:

   with open_binary("filename") as f:
       ...


    with open_text("filename") as f:
        ...
How do I open these files in writeable mode?

    with open_text("filename").writeable() as f:
        ...
This is getting absurd.



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

Search: