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

No longer need to do Python 2 configuration for sip #860

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

corranwebster
Copy link
Contributor

Fixes #859

The code removed should effectively be a no-op on Python 3, since it was configuring sip to behave in a Python 3-compatible way.

Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but IIUC, this already happens with PyQt4 + Python 3 under the hood in sip. Is that correct?

@corranwebster
Copy link
Contributor Author

corranwebster commented Jan 19, 2021

Yep. This is code that changes the behaviour of sip under PyQt4 + Python 2 so that it behaves like PyQt4 + Python 3 (and also PySide). So under Python 3 this is just setting the values to what they should already be.

@corranwebster corranwebster merged commit b599d7f into master Jan 19, 2021
@corranwebster corranwebster deleted the enh/qt4-remove-python2-sip-config branch January 19, 2021 10:24
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.

Remove prepare_pyqt4 from pyface.qt
2 participants