This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cvickery
Recipients Dennis Sweeney, cvickery, pablogsal, piro
Date 2022-01-06.14:24:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641479074.12.0.942291771624.issue46256@roundup.psfhosted.org>
In-reply-to
Content
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!
History
Date User Action Args
2022-01-06 14:24:34cvickerysetrecipients: + cvickery, piro, pablogsal, Dennis Sweeney
2022-01-06 14:24:34cvickerysetmessageid: <1641479074.12.0.942291771624.issue46256@roundup.psfhosted.org>
2022-01-06 14:24:34cvickerylinkissue46256 messages
2022-01-06 14:24:34cvickerycreate