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

You can hide them or mark them deprecated in such a way that new scripts don't see them, but old scripts still function.


How exactly do you distinguish new and old scripts? They are all just files from the interpreter’s perspective.


that's a good question.

maybe you could make it explicit for new scripts?

    from __past__ import cruft




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

Search: