Development Vs Release

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Nov 10 18:07:17 EST 2010


In message <201011100749474192-nomail at 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.



More information about the Python-list mailing list