----- Original Message -----
From: Phillip J. Eby <[EMAIL PROTECTED]>
> Been there, done that.  Yours doesn't work either, btw.  Well, actually,
it
> does, it's just that it causes a memory leak because it leaves an
> unintended circular reference.  We've got a version that fixes the
circular
> reference, but in a really really ugly way (it does a run-time patch to
> BaseRequest.close() to remove the poked-in unauthorized() method).

The GUF version, at least, doesn't need this drastic a fix.  Adding the
following line to the top of guf_unauthorized should suffice:

del request.RESPONSE.unauthorized

Cheers,

Evan @ digicool & 4-am


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to