Singleton in Python Cookbook

Alex Popescu nospam.themindstorm at gmail.com
Thu Jul 26 08:14:16 EDT 2007


Steve Holden <steve at holdenweb.com> wrote in
news:f8989p$qhn$1 at sea.gmane.org: 

> Alex Popescu wrote:
>> Alex Popescu <nospam.themindstorm at gmail.com> wrote in 
>> news:Xns9979172DC38F1themindstorm at 80.91.229.5:
>> 
>>> "Diez B. Roggisch" <deets at nospam.web.de> wrote in
>>> news:5gq00tF3fm71gU1 at mid.uni-berlin.de: 
>>>

>
> [snip...]
>
> If, that is, "work" means "Raise an AttributeError due to the missing 
> spam() method". This appears to fix that problem:
>

Hmmm... just try your correction with the original cookbook code and tell 
me if it works ;-).
As you'll notice that was not the problem I was asking about (but yes that 
is yet another problem with the code in the book).

bests,
./alex
--
.w( the_mindstorm )p.




More information about the Python-list mailing list