Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 6.0.3
-
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
For Gerrit Dashboard: PYSIDE-1548 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
346910,3 | __feature__: Ensure that features are not affected by other imports | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
347029,4 | __feature__: Ensure that features are not affected by other imports | 6.0 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
347030,4 | __feature__: Ensure that features are not affected by other imports | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |