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

MNT: pyside6 just throws an IndexError instead when connecting to value_signals not overloaded with the specified type #1197

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nstelter-slac
Copy link
Collaborator

@nstelter-slac nstelter-slac commented Mar 13, 2025

pyqt5: missing overload = KeyError
pyside6: missing overload = IndexError

also make plugin channel connecting/disconnecting into a nicer equivalent for-loop, and add catching TypeErrors too (explanation in new comments)

and add comments to explain why we are catching these specific errors.

@nstelter-slac nstelter-slac added the pyside6 for adding pyside6 (qt6) support label Mar 13, 2025
…ue_signals not overloaded with the specified type

pyqt5: missing overload = KeyError
pyside6: missing overload = IndexError
equivalent for-loop and catch TypeErrors too]

Also add comments to explain why we are catching these specific errors.
@nstelter-slac nstelter-slac requested review from YektaY and jbellister-slac and removed request for YektaY March 14, 2025 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pyside6 for adding pyside6 (qt6) support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant