<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
Do you have the source up somewhere for download (i didn't see a link on the page)?<BR>
<BR>
Mike<BR>
<BR>
On Tue, 2004-08-17 at 12:29, Amir Salihefendic wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>I was pretty tired of the way that you test out stuff in mod_python.
I.e. you use req.write(variable), req.write(dir(object)) etc.
Therefor I sat down - and thought of a good way to analyze stuff.
I thought, let's make it this way:
- Throw anything in - abracadabra - you get some informative output -
that also is readable.
And some hours later I have class AnalyzeThat :-)
Throw anything in AnalyzeThat and it generates some informative and
readable output.
Following types are supported (i.e. there are written explicit handlers
for them):
Int, Str, Tuple, List, Dict, Module and Function. I had also support
for boolean (but it does not work in Python 2.2, so I removed it
again).
Other types are also supported - they just don't have their own
handlers.
For a better overview check out:</FONT>
<A HREF="http://amix.dk/at/index.py"><U>http://amix.dk/at/index.py</U></A>
<FONT COLOR="#737373">
If anybody has any additions I would be very glad to implement them - -
in the final version of the class.
Kind regards
Amir Salihefendic
-----
What we do in life echoes in eternity
_______________________________________________
Mod_python mailing list
Mod_python@modpython.org</FONT>
<A HREF="http://mailman.modpython.org/mailman/listinfo/mod_python"><U>http://mailman.modpython.org/mailman/listinfo/mod_python</U></I></A></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT COLOR="#999999">__________________________________ </FONT><BR>
<BR>
<A HREF="mailto:michael.neel@mediapulse.com"><FONT COLOR="#000000" SIZE="2"><B><U>michael.neel</B></FONT></A><A HREF="mailto:michael.neel@mediapulse.com"><FONT COLOR="#808080" SIZE="2">@mediapulse.com</U></A><BR>
vice president of information systems<BR>
865.675.4455 x30<BR>
800.380.4514</FONT><BR>
<BR>
<A HREF="http://www.mediapulse.com/"><FONT COLOR="#a51c1e" SIZE="2"><U>www.mediapulse.com</U></FONT></A><BR>
<FONT COLOR="#999999">__________________________________</FONT>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>