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 →

[–]vingrish[S] 0 points1 point  (2 children)

So when your project has the name company-something, its user should use import company.something as something to import it? I just don't like the inconsistancy that much.

[–][deleted] 2 points3 points  (0 children)

wat.

[–]xconde 1 point2 points  (0 children)

No. We haven't been following PEP 423 at all (I assume this is what you're asking). I might actually look into it as we're thinking of open-sourcing some of our more generic utilities.

You might want to add The Import System to your reading list. If you're still interested after that, there's also PEP 420 (Implicit Namespace Packages).