In message <201011100749474192-nom...@thisaddresscom>, Sven wrote:

> I don't like the idea of flags inside the code as they can often get
> missed when developers release their code, ending up with released
> versions that import modules from the developer's working directory.

I have used a flag, together with a custom installation script that knows 
how to edit that flag in each source file depending on whether it’s being 
installed for testing or production use.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to