'k, newb question here, but how important is to be judicious with your import statements? My Fundamentals of Computing 1 teacher taught us to avoid using wildcard imports (java.util.*, for example), but I don't remember exactly why.
The thing about not doing from whatever import \* is that'll dump everything into the current namespace and potentially overwrite things already existing in the namespace.
What's going on in the linked thread is if modules should do anything that'll affect the receiving module other than setting up itself up.
The example being used is how a module is causing a system exit or segfaulting.
1
u/[deleted] Apr 06 '14
'k, newb question here, but how important is to be judicious with your import statements? My Fundamentals of Computing 1 teacher taught us to avoid using wildcard imports (java.util.*, for example), but I don't remember exactly why.
I'm guessing that's the reason behind the drama.
1
u/aphoenix SEXBOT PANIC GROUPIE Apr 06 '14
I think that is the biggest drama we've seen in /r/Python.
0
u/[deleted] Apr 06 '14
[deleted] — view deleted comment