[Twisted-web] Adding data to the request

Syver Enstad syver at inout.no
Thu Sep 16 06:08:04 MDT 2004

Matt Goodall <matt at pollenation.net> writes:

> On Thu, 2004-09-16 at 10:52, Syver Enstad wrote:
> > Thanks Matt that certainly seems to do what I want. If the foo object
> > also disappear when the request is finished then this is exactly what
> > I want.
> Normal Python garbage collection rules should apply, i.e. there are no
> guarantees about what will happen but as long as you don't hang on to
> other references to foo then foo will get GC'd at the same time as the
> request object.

Of course, I was just talking about the refernce that the request
kept. I checked it, the request value disappears between
requests. Very nice I am using it already now to maintain some link

More information about the Twisted-web mailing list