Michael C. Neel
neel at mediapulse.com
Tue Aug 17 14:13:19 EDT 2004
Do you have the source up somewhere for download (i didn't see a link on the page)? Mike On Tue, 2004-08-17 at 12:29, Amir Salihefendic wrote: > 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: > http://amix.dk/at/index.py > > 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 at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python __________________________________ michael.neel at mediapulse.com vice president of information systems 865.675.4455 x30 800.380.4514 www.mediapulse.com __________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modpython.org/pipermail/mod_python/attachments/20040817/31a78ee6/attachment.html
|