Singleton in Python Cookbook

Alex Popescu nospam.themindstorm at
Thu Jul 26 14:14:16 CEST 2007

Steve Holden <steve at> wrote in
news:f8989p$qhn$1 at 

> Alex Popescu wrote:
>> Alex Popescu <nospam.themindstorm at> wrote in 
>> news:Xns9979172DC38F1themindstorm at
>>> "Diez B. Roggisch" <deets at> wrote in
>>> news:5gq00tF3fm71gU1 at 

> [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).

.w( the_mindstorm )p.

More information about the Python-list mailing list