Am 07.09.2016 um 17:02 schrieb Justin Pryzby:
Here's a minimal test:

Thanks, that was helpful. As already suspected, the error happens because in the DB.__init__ method an exception is raised when creating the lower level connection because there are already too many, and this happens before self.db is initialized.

A quick fix would be to set self.db = None at the very beginning of the DB.__init__ method. I'll try to come up with a better fix.

-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to