efficient way for building class browsers.

Michele Simionato michele.simionato at poste.it
Mon Feb 9 12:08:27 EST 2004


Josiah Carlson <jcarlson at nospam.uci.edu> wrote in message news:<c062lt$mb3$1 at news.service.uci.edu>... 
> > I think the 1/2 second could also be done with some intelligent
> > regexpr's. There is something like this in the IDLE code.
> 
> Checking the IDLE source for version 1.0 (I would check CVS, but CVS 
> seems to be having issues at sourceforge), it uses pyclbr.
> 

The inspect module uses regexps to extract the source code from classes
(and it is always a very good reading).

    Michele



More information about the Python-list mailing list