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

This seems like a huge case of "implicit over explicit". Ideally if you import package foo, it shouldn't affect anything but foo.bar



Python itself never enforced that, though. It's the libraries' responsibility to have a "register_import_hook()" function or similar instead of just doing so unannounced.




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

Search: