Re: threading, caching, and the yield in query.py

2008-09-30 Thread bo
I am doing some mildly weird things .. all are related to the fact that the first iterator (i.e. for data in myob.data) is _really_ Database heavy, so the entire thing is a very lazy iterator (with other lazy sub iterators). So in caching the sub objects (myob) the QuerySet could have been

Re: threading, caching, and the yield in query.py

2008-09-29 Thread Malcolm Tredinnick
On Mon, 2008-09-29 at 10:37 -0700, bo wrote: > > This little issue is really hard to replicate .. i've yet to find out > how to programatically do it because it certainly revolves around a > threading, object caching, and the Yield in Query.py (iteritems). > > I just wanted to post this here

threading, caching, and the yield in query.py

2008-09-29 Thread bo
This little issue is really hard to replicate .. i've yet to find out how to programatically do it because it certainly revolves around a threading, object caching, and the Yield in Query.py (iteritems). I just wanted to post this here to see if anyone, with more experience then i, knows howto