[Python-Dev] Re: LOAD_NAME & classes (original) (raw)
Fredrik Lundh fredrik@pythonware.com
Tue, 23 Apr 2002 23:24:44 +0200
- Previous message: [Python-Dev] Re: LOAD_NAME & classes
- Next message: [Python-Dev] Re: LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Aahz wrote:
> http://www.python.org/doc/current/tut/node8.html#SECTION008100000000000000000
That addresses the technical mechanism, but not the use case at hand.
the use case was "some easy or straight-forward way of sharing a global instance across modules".
the answer is "put it in a module".
end of story.
followups to comp.lang.python, thank you.
- Previous message: [Python-Dev] Re: LOAD_NAME & classes
- Next message: [Python-Dev] Re: LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]