We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following example causes a segmentation fault:
from PySide import QtGui from PySide.QtCore import Qt class Data(object): def __getitem__(self, item): raise ValueError("Issue") model = QtGui.QStandardItemModel() item = QtGui.QStandardItem('a') item.setData(Data(), role=Qt.UserRole) model.appendRow(item) model.item(0)
Somehow, the getitem which raises an exception is needed to reproduce the failure. if instead of raising an exception I do:
class Data(object): def __getitem__(self, item): return 1
then the script is stuck.
The text was updated successfully, but these errors were encountered:
It might have better chances to be spotted if reported here - https://bugreports.qt.io/browse/PYSIDE
Sorry, something went wrong.
No branches or pull requests
The following example causes a segmentation fault:
Somehow, the getitem which raises an exception is needed to reproduce the failure. if instead of raising an exception I do:
then the script is stuck.
The text was updated successfully, but these errors were encountered: