News for hackers. Stuff that matters.
Re:Say “no” to import side‐effects in Python by gbog on Saturday April 05, 2014 @11:21AM (#7537304)
For those not in the knowing, avoiding import side effect means never having top level code in any python module except class, functions and constant definitions, other imports and the occasional if name = main. And constants must be built-in types.

There are no comments on this comment yet.