[Python-Dev] Re: LOAD_NAME & classes (original) (raw)
Michael Gilfix mgilfix@eecs.tufts.edu
Tue, 23 Apr 2002 15:59:22 -0400
- Previous message: [Python-Dev] Re: LOAD_NAME & classes
- Next message: [Python-Dev] Re: LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Upon futher reflection, I would agree with you. It's something I find slightly confusing when I first started with python - what the best method sharing a global instance is. I agree any such mechanism needs to be well thought out though. Perhaps some good documentation is the best solution.
-- Mike
On Tue, Apr 23 @ 15:49, Fran�ois Pinard wrote:
I already use `config' (that precise identifier) a lot in my things, so please do not even think using it for something else! :-) :-)
For small projects, such a thing might be overkill. For big projects, there are a few (maybe many) avenues and ways how to achieve this sharing, and I'm glad having the freedom of installing subtle nuances between projects, as needed. That is, I would fear a bit being pulled in an arbitrary direction: it would have to be convincingly damned good. :-) Better, maybe, would be to merely document some of the possible avenues. Most of these require only a tiny investment in lines of code anyway.
-- Michael Gilfix mgilfix@eecs.tufts.edu
For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html
- Previous message: [Python-Dev] Re: LOAD_NAME & classes
- Next message: [Python-Dev] Re: LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]