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

from __feature__ does not work as expected.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2: Important
    • Resolution: Done
    • 6.0.3
    • 5.15.4, 6.1
    • PySide
    • None
    • 39ba36db0fb8a3c722cb23e02f38abab9c67592c (pyside/pyside-setup/dev) e9b8c4a5cf8c35905ba4c761e931cc4a86dab58f (pyside/pyside-setup/6.0) 0eb2cde3fee7e3cdc2e1273001ae532c499680e5 (pyside/tqtc-pyside-setup/5.15)

    Description

      from __feature__ import x must be the last import. If any imports are after it, it refuses to work. I expect that either an error should be raised, or (ideally), that it doesn't have to be the last import. A minimal example is attached.

      Attachments

        For Gerrit Dashboard: PYSIDE-1548
        # Subject Branch Project Status CR V

        Activity

          People

            ctismer Christian Tismer
            umbralreaper UmbralReaper N/A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes