[Zope-dev] improving str(REQUEST)

Andreas Jung andreas@andreas-jung.com
Tue, 30 Oct 2001 06:12:44 -0500


Feel free to extend the HTML representation for REQUEST
using __str__ or the ascii represenation using text(). But for
debugging purposes a collapsable tree is more unhandy than usable
because clicking in a large tree takes to much time to find the
informations you are looking for.

Andreas
----- Original Message ----- 
From: "seb bacon" <seb@jamkit.com>
To: <zope-dev@zope.org>
Sent: Tuesday, October 30, 2001 06:48
Subject: [Zope-dev] improving str(REQUEST)


> The REQUEST __str__ representation can be useful for tracking down
> bugs, and is a useful didactic tool for newbies.  I wanted to get
> feedback on some ways it has occured to me that it might be improved.
> If it turns out to be a good idea, I'll do a fishbowl proposal (one
> day...) 
> 
> In its simplest form, it would be nice if it were a collapsable tree,
> so you could examine just the bits you were interested in.
> 
> I think it would also be really handy to extend this concept, for
> example adding nodes to the AUTHENTICATED_USER branch, which show
> local roles, roles, etc.  Perhaps automatically, through introspection? 
> 
> seb
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> 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 )
>