Class not loading properly in CGI

Jp Calderone exarkun at intarweb.us
Sat Nov 22 19:36:27 EST 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