Can global variable be passed into Python function?

Roy Smith roy at panix.com
Fri Feb 28 19:48:26 EST 2014


In article <mailman.7483.1393632181.18130.python-list at python.org>,
 Ben Finney <ben+python at benfinney.id.au> wrote:

> Of course. That's the point of describing something as a “code smell”:
> it may have exceptions where the smell does not indicate an actual
> problem, but those are not the normal case where the smell is
> encountered. More often, it indicates a problem that should be fixed.

An apt analogy is refrigerator smell.  Sometimes it means the leftovers 
from 3 months ago have evolved into a sentient life form.  Sometimes it 
just means you've got a piece of Roquefort.



More information about the Python-list mailing list