On Tue, 10 Sep 2002 11:14:03 -0700 (PDT), Ian Maurer <[EMAIL PROTECTED]> 
wrote:
>
>For my latest projects, I used a 'shared state' class
>instead of a classic 'singleton' pattern. ...
>
>Waldo is the name of the class... just an arbitrary
>name for the framework I created (my acronym'ing needs
>work: Web Application Lazy Data Objects?). 
>
>Waldo started off looking like this
>
>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.

--
- Tim Roberts, [EMAIL PROTECTED]
  Providenza & Boekelheide, Inc.




-------------------------------------------------------
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

Reply via email to