Why does this work?
Don Garrett
garrett at bgb-consulting.com
Wed Mar 27 20:00:09 EST 2002
More information about the Python-list mailing list
Wed Mar 27 20:00:09 EST 2002
- Previous message (by thread): Why does this work?
- Next message (by thread): Why does this work?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Delaney, Timothy" wrote: > > > From: Phlip [mailto:phlip_cpp at my-deja.com] > > > > We find just >having< a style guideline slightly more > > important than the > > value of any few marginal items in it. > > > > And we like to find ways to cure the "magic member bug". If > > you can think of > > any others, please share. > > __slots__ > > Tim Delaney Um... this does help protect them from outside interferance, but doesn't in any way require them to have been initialized in __init__, or even protect you from a misspelled name, does it? Just trying to make sure that nothing goes on with __names besides the name mangling into __class__name. -- Don Garrett http://www.bgb.cc/garrett/ BGB Consulting garrett at bgb.cc
- Previous message (by thread): Why does this work?
- Next message (by thread): Why does this work?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list