Christopher Vickery <christopher.vick...@qc.cuny.edu> added the comment:

This it very clear and totally consistent with the observed behavior. I can 
think of a couple of workarounds for my app (move the db access from module 
initialization to a function that gets invoked "on demand", or redirect 
sys.stderr to /dev/null just before exiting).

Perhaps the Psycopg team can deal with it more directly.

Many thanks to all for the time and effort taken to make clear what's happening!

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46256>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to