Am 18.04.2020 um 16:19 schrieb Justin Pryzby:
I don't think we came to any conclusion about this, and I cannot find it in github, and I cannot access trac... How should I use contants like ProgrammingError without incurring warnings from pylint ? Should I import _pg instead ?
Can you check whether these pylint warnings disappear when you add an "__all__" attribute to pg that contains "ProgrammingError" (and other public globals)? I think we should do this anyway.
(see http://xion.io/post/code/python-all-wild-imports.html) -- Christoph _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo/pygresql
