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.
| 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 |