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

from __feature__ does not work as expected.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.4, 6.1
    • 6.0.3
    • 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

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

        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