keyword in package name.

Abhishek Mishra abhishekmishra3 at gmail.com
Sun Oct 19 06:52:10 EDT 2008


On Oct 19, 2:06 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
>
> `com_spam.app1`!?  I would even recommend this with domains that don't
> clash with keywords because if several people start to use this package
> name convention you will get name clashes at package level.  Say there
> are two vendors with a `com` TLD, how do you install their packages?  
> Into the same `com/` subdirectory?  The `__init__.py` of which vendor
> should live at the `com/` directory level?  If you install them into two
> different directories but want to import modules from both vendors -- how?
>
> Ciao,
>         Marc 'BlackJack' Rintsch

Ah, you have opened my eyes.
I should have asked myself before why I did not face such a clash.
(because no-one uses this convention!)

I guess the way to go is not use the tld, but just a unique company/
product name.

Thanks,
Abhishek Mishra



More information about the Python-list mailing list