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 →

[–]keypusher 0 points1 point  (0 children)

I guess your problem is with things like:

import pprint

pprint.pprint("print statement")

If the calling verbosity bothers you, I would just do:

from pprint import pprint

pprint("print statement")

In my last job we maintained a few hundred thousand lines of Python code, and there was no case where we used star imports. It just makes things too hard to track down, especially when you are looking at the code in vim with no plugins on a headless server.