I don't know a lot about weakrefs, but their purpose is to have a cached
link to an object that doesn't use any system resources when the object
isn't also being used elsewhere.  They assume you can reconstruct the
original object when needed if the link is dead.

Your data would not have weakrefs unless you specifically created them.  
Webware may well use weakrefs in its caching system; however, I did a
grep through Webware's source files and did not find "weakref" anywhere.
Another possibility is that you are inheriting from a third-party class
that uses weakrefs, or using something from the Python library that uses
weakrefs.

It seems the first thing to do is see what the object is.  Add a few
lines in your copy of Webware that catches the error, then determine
which of the three types of weakrefs it is (see the weakref
documentation).  Then dereference it and print the original object's
type and content.  If the original object has died, it'll print None
instead; I'm not sure what you'd do at that point, how you'd figure
out what it used to be and where it came from.

-- 
-Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
   http://iron.cx/     English * Esperanto * Russkiy * Deutsch * Espan~ol


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to