Re:Use JSON files as if they are Python modules
by Grue3 on Monday January 25, 2016 @07:30AM
(#10966791)
This seems like a huge case of "implicit over explicit". Ideally if you import package foo, it shouldn't affect anything but foo.bar
[ Parent
| on HN ]
Re:Use JSON files as if they are Python modules
by icebraining on Monday January 25, 2016 @07:50AM
(#10966862)
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.