Class not loading properly in CGI

Jp Calderone exarkun at intarweb.us
Sun Nov 23 01:36:27 CET 2003


On Sat, Nov 22, 2003 at 11:05:46PM +0000, Tom Chance wrote:
> One further note of interest:
> 
> Python version: 1.5.2 

   Ah.  This explains it.  In 1.5.2, dir() did not return class attributes,
only instance attributes.  The missing methods are still usable, you just
won't see them without examining mydb.__class__.

  Jp





More information about the Python-list mailing list