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

It seems like the main problem here is that Python does not enforce that the subclass hook method is pure and so allows you to create buggy implementations. The spec should mandate that the method is pure and causing side effects should be a runtime (or compile time) error.


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

Search: