-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
issues with unicode_literals
and pysides.QtCore.Slot
#2378
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
Comments
also see https://code.google.com/p/spyderlib/issues/detail?id=1466 -> discussion at -https://code.google.com/p/spyderlib/source/detail?r=d12c3026caee -> https://bugreports.qt-project.org/browse/PYSIDE-100 so it looks like this is long standing but unfixed upstream issue. |
And it looks like the 'fix' is to convert all of the Qt calls to new style calls. If we look at the top of
It does not segfault. |
Sorry for having a conversation with my self, but it doesn't look too bad to (only ~34 lines need to be changed in only two files ( |
Great. The change to not using 2to3 was just merged yesterday, and I'm glad it's already getting its tyres kicked, and thanks for finding a solution. |
@tacaswell: Thanks. Sorry for the speedbump, but I think we're going to prefer not running 2to3 anymore in the long run. |
not seg-fault when using PySide Addresses issue matplotlib#2378
If I use PySides as the qt4 backend:
git bisect points me to commit f4adec7 as the first bad commit.
It works (that is, does not seg-fault) if pyqt is used instead.
I spent a bit of time trying to track down exactly where it was blowing up and it seems to bad a bad interaction between
from __future__ import unicode_literals
and the pyside version of@QtCore.Slot()
.The text was updated successfully, but these errors were encountered: