Skip to content

v3.14.1

Choose a tag to compare

@PierreRaybaut PierreRaybaut released this 14 Feb 15:29
· 27 commits to master since this release
Immutable release. Only release title and notes can be modified.

guidata Version 3.14.1

  • Added official support for Python 3.14

🛠️ Bug fixes:

  • PySide6 compatibility: Added is_qobject_valid() utility function to safely check if a QObject's underlying C++ object is still valid
    • With PySide6, accessing methods on a deleted C++ object causes a segfault instead of raising RuntimeError (as PyQt does)
    • Uses shiboken.isValid() on PySide2/PySide6 and objectName() try/except on PyQt5/PyQt6
    • Updated close_widgets_and_quit() to use is_qobject_valid() instead of a bare try/except for widget validity checks
    • Updated close_dialog_and_quit() to check widget validity before and after processEvents(), preventing segfaults when Qt deletes widgets during event processing

♻️ Code improvements:

  • Refactored refresh action lambda in IconBrowserWindow for improved readability
  • Simplified widget name retrieval in close_widgets_and_quit() function