namespace collisions

John Lenton john at grulic.org.ar
Thu Feb 17 13:32:56 EST 2005


On Thu, Feb 17, 2005 at 06:20:36PM +0000, Will McGugan wrote:
> Hi,
> 
> I'm accumulating a number of small functions, which I have sensibly put 
> in a single file called 'util.py'. But it occurs to me that with such a 
> generic name it could cause problems with other modules not written by 
> myself. Whats the best way of handling this? If I put it in a common 
> location in my Python path, should I call it willsutil.py?

   local.util

is probably a convention worth starting :)

or you could go with

   WilMcGugan.util

but ThatGetsOldFast.


-- 
John Lenton (john at grulic.org.ar) -- Random fortune:
All my friends are getting married,
Yes, they're all growing old,
They're all staying home on the weekend,
They're all doing what they're told.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20050217/89b7ec4d/attachment.sig>


More information about the Python-list mailing list