Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return NULL on failed module initialization #1601

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

jchampio
Copy link
Contributor

Previously, any exceptions raised during initialization were swallowed with a message like

SystemError: initialization of _psycopg raised unreported exception

Fixes #1598.

jchampio and others added 2 commits August 4, 2023 17:19
Previously, any exceptions raised during initialization were swallowed
with a message like

    SystemError: initialization of _psycopg raised unreported exception

Fixes psycopg#1598.
@dvarrazzo dvarrazzo merged commit 4fe28d6 into psycopg:master Aug 4, 2023
@jchampio jchampio deleted the dev/init-failure branch August 15, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exceptions during module initialization are swallowed
2 participants