Skip to content

Replace uses of exec_ with exec#60

Merged
MHendricks merged 1 commit intomainfrom
mikeh/exec_
Mar 14, 2026
Merged

Replace uses of exec_ with exec#60
MHendricks merged 1 commit intomainfrom
mikeh/exec_

Conversation

@MHendricks
Copy link
Copy Markdown
Member

Qt6 has retired the python 2 workaround now that exec is not reserved. PyQt6 no longer supports exec_ and Qt5 already supported exec in py3. This covers the remaining uses of exec_, several others were already updated.

Checklist

  • I have read the CONTRIBUTING.md document
  • I formatted my changes with black
  • I linted my changes with flake8
  • I have added documentation regarding my changes where necessary
  • Any pre-existing tests continue to pass
  • Additional tests were made covering my changes

Types of Changes

  • Bugfix (change that fixes an issue)
  • New Feature (change that adds functionality)
  • Documentation Update (if none of the other choices apply)

Qt6 has retired the python 2 workaround now that `exec` is not reserved.
PyQt6 no longer supports `exec_` and Qt5 already supported `exec` in py3.
@MHendricks MHendricks merged commit 89e12de into main Mar 14, 2026
21 checks passed
@MHendricks MHendricks deleted the mikeh/exec_ branch March 14, 2026 00:20
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.

1 participant