Dynamic Scoping problem

Ville Vainio ville at spammers.com
Mon Aug 23 19:57:09 CEST 2004

>>>>> "Andrew" == Andrew Koenig <ark at acm.org> writes:

    Andrew> That said, I should point out that global variables are
    Andrew> usually a bad idea.

But also let me point out that they are not as bad an idea as they are
in e.g. C, because they are only *module* global, and are a handy way
of implementing singletons.

Ville Vainio   http://tinyurl.com/2prnb

More information about the Python-list mailing list