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

Fix compatibility with PySide2 on Python 2.7 #280

Merged
merged 1 commit into from Apr 16, 2018

Conversation

astrofrog
Copy link
Contributor

This fixes a bug in commit_api which caused PySide2 binding to be forbidden even if the loaded API was PySide2 (I think it was just a typo in the if statement)

@astrofrog
Copy link
Contributor Author

For some reason this only manifests itself on Python 2.7 though, and it works fine on Python 3.6, which suggests maybe somehow the forbidding isn't working quite right on Python 3.6?

@takluyver
Copy link
Member

Yep, it certainly looks like it was just a typo. It could well be that the import denier stuff doesn't work right in Python 3.6 - it's hard to test. It's probably more important to fix the copy in IPython, because that's what runs in the kernel, denying imports for user code.

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.

None yet

4 participants