Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2575

QAsyncioEventLoopPolicy always shuts down QCoreApplication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.6.2, 6.7.0
    • 6.6.1
    • QtAsyncio
    • None
    • PySide 6.6.1, Python 3.9, Windows 11
    • 3bc157720 (dev), ce29b3372 (6.6)

    Description

      QAsyncioEventLoopPolicy always shuts down QCoreApplication when the event loop closes.

      It should be possible to control this behaviour (toggle on/off).

      An example where this is problematic is the pytest-qt library which completely breaks when each unit test creates an event loop instance, since pytest-qt intends to reuse a single QCoreApplication across the test suite, which is made impossible by this change in Pyside 6.6.1.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            adherrma Adrian Herrmann (Inactive)
            korijn Korijn van Golen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes