Str and instance concatanation error

Bengt Richter bokr at oz.net
Wed Nov 6 01:10:02 EST 2002


On Tue, 05 Nov 2002 17:56:53 -0800, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:

>Newt fed this fish to the penguins on Monday 04 November 2002 03:01 pm:
>
>> 
>> This occurs in a class module (called globals.py). This is used to
>> hold all my global variables, and also has a method (called save_char)
>> to write these to a file.
>>
>        Is it just me, or does the use of the name "globals" strike a chord... 
>Especially since the builtin function globals() already exists to 
>return the global environment as a dictionary.
>
Yes, it does seem like asking for trouble. I was too narrowly focused to notice ;-/

Regards,
Bengt Richter



More information about the Python-list mailing list