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

BUG: Python3: Fix initialization of PythonQt module #857

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Apr 4, 2019

This commit avoids the error "SystemError: initialization
of CTKPythonQt raised unreported exception"
from being reported when no PythonQt wrapper are associated
with .

As discussed in [1], " module init functions should
return NULL in order to communicate that an exception
occurred during initialization"

[1] numpy/numpy#10775 (comment)

This commit avoids the error "SystemError: initialization
of CTK<LibName>PythonQt raised unreported exception"
from being reported when no PythonQt wrapper are associated
with <LibName>.

As discussed in [1], " module init functions should
return NULL in order to communicate that an exception
occurred during initialization"

[1] numpy/numpy#10775 (comment)
@jcfr jcfr merged commit af530cf into master Apr 4, 2019
@jcfr jcfr deleted the python3-fix-pythonqt-wrapping branch April 4, 2019 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant