namespace for released packages?

Stuart Bishop stuart at stuartbishop.net
Sun Jul 18 15:55:42 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 18/07/2004, at 8:07 PM, Alex Hunsley wrote:

> Alex Hunsley wrote:
>
>> What is the python convention for namespaces of released packages? In 
>> Java you'd write your domain name (if you have one) backwards, this:
>> uk.org.ohmslaw.myPackage
>> ... thus ensuring uniqueness. Is it the same for Python?
>> thanks
>> alex
>
> I presume the lack of replies and what I've seen on code on the net 
> means that the modus operandi is to just have your python at the top 
> level, and not in a package that makes it unique... I find this quite 
> strange! Do problems not arise due to module name clashes?

It is pretty rare to get clashes - module authors are generally
nice enough to make sure nobody else is using their package name
before releasing things and generally package everything into
a single top-level module.

- --  
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFA+tXEAfqZj7rGN0oRAgSOAJ96UwUBXtJ8WMUd2hAUt+jqX7l90QCePqKr
TQ6ISW/8pMvvHZoY2PH4nEo=
=Fo/D
-----END PGP SIGNATURE-----




More information about the Python-list mailing list