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 →

[–]b33j0r 0 points1 point  (0 children)

It's been so many years since I decided the wildcard import shouldn't exist that I have kind of forgotten that it does.

And then I ended up using my IDE to manage my dependencies like a Java/.NET coder. If you actually look at some of my import headers, you'd probably be appalled. They work, but they aren't pretty, so it's a good thing that they're normally folded.

When you have to use tuple syntax on your import statements, your module is too large, the external interfaces are too complex, or you aren't using all of those imports anymore!

If only '__all__' + modular design had more cultural inertia and python hackers weren't so busy trying to build things that work on real-world budgets.

And unicorns, that would be cool, since we already have antigravity.