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

from __feature__ does not work as expected.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.3
    • Fix Version/s: 5.15.4, 6.1
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      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

            Assignee:
            ctismer Christian Tismer
            Reporter:
            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