--- Tim Roberts <[EMAIL PROTECTED]> wrote:
> On Tue, 10 Sep 2002 11:14:03 -0700 (PDT), Ian Maurer
> <[EMAIL PROTECTED]>
> >class Waldo:
> > __shared_state = { #
> >shared state: all instances share the same data
> > 'dbPool': None,
> >...
>
> As a stylistic note: you should not generally use
> double underscores as a lead-
> in for your own variable names. Those are reserved
> for Python itself.
>
I always thought double underscores was a method for
making attributes and methods 'private' (actually
'mangled' would be the right word since there isn't
the 'security' that C++ provides).
Can someone confirm either theory for us?
regards,
Ian Maurer
BTW- Tim, I still use your fixed up version of my PDOS
program I wrote when I first started playing with
Python whenever I get stuck on a windoze boxen and
need some command line help.
__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss