Sorry, this was lost in my spam for three weeks.. On Fri, Jul 26, 2019 at 10:42:14AM +0200, Christoph Zwerschke wrote: > Am 26.07.2019 um 05:20 schrieb Justin Pryzby: > > > Is there any way to avoid output like this? > > > > ************* Module telsasoft.db > > E: 15, 0: No name 'ProgrammingError' in module 'pg' > > (no-name-in-module) > > ... > > > > I assume it's related to this: > > > > | def __getattr__(self, name): > > | # All undefined members are same as in underlying connection: > > | if self.db: > > | return getattr(self.db, name) > > | else: > > | raise _int_error('Connection is not valid') > > The errors complain about not existing members of the module, but the code > above gets members of the connection, not of the module.
Yes, you're right. > Also, these look like linter errors to me, not runtime errors. Yes, I'm trying to make at least our most important modules pylint clean. Justin _______________________________________________ PyGreSQL mailing list PyGreSQL@Vex.Net https://mail.vex.net/mailman/listinfo/pygresql