Python super() behavior not dependable

Are you reloading modules somehow in the middle of things? If so, that may explain this error.

isinstance(self,DBAdminConnection) may become false after reloading modules because of the changes to memory references, apparently.

Edit: if you’re running your web.py app under mod_wsgi, make sure you’re disabling autoreload:

app = web.application(urls, globals(), autoreload=False)

Leave a Comment