[ZODB-Dev] Investigating a Zope reference leak... tracking object creation

Paul Winkler pw_lists at slinkp.com
Tue Feb 1 13:18:04 EST 2005


On Tue, Feb 01, 2005 at 10:59:57AM +0000, Ben Last (ZODBDev) wrote:
> >>        url =  
> >>img.absolute_url().replace(request.BASE1,environment.relpath)
> >Hmm, have you tried .absolute_url(1) to replace the stuff above?
> No, but thanks for the hint!

OT for this thread, but see the docstrings for absolute_url
and related methods in OFS.Traversable.
I'd use img.absolute_url_path() instead. 

fwiw, i don't see anything in your post that suggests a cause
for leaking objects. Good luck!
 
-- 

Paul Winkler
http://www.slinkp.com


More information about the ZODB-Dev mailing list