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

QAsyncioEventLoopPolicy always shuts down QCoreApplication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important 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)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes