Upgrading Class Instances Automatically on Reload
reply.in.the.newsgroup at my.address.is.invalid
Tue May 9 22:05:12 CEST 2006
>At the statement b = Bar(), the following error occurs:
>The debugged program raised the exception unhandled AttributeError
>"type object 'Bar' has no attribute '__instance_refs__'"
I haven't studied it at all, but the code on
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164 seems to
run fine with Python 2.4.2 in WingIDE on Windows XP. There's no exception
and it prints:
Are you perhaps using an older dead tree version of the Cookbook?
More information about the Python-list