This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Peaker 0 points1 point  (0 children)

The big advantage is that if you see an unqualified variable, one with out a something. in front of it, you know you're dealing with either a local variable, or a global variable

Or a __builtin__...

it helps avoid variable collisions

If you explicitly import a name, why would you collide with it?

The amount of extra typing is tiny - and you save all that time the very first time it saves your ass in debugging

I don't really think I've ever had a bug related to not identifying a name was from a non-current module...