Summary: |
Python import do not support attributes with initializers |
Product: |
[Applications] umbrello
|
Reporter: |
Ralf Habacker <ralf.habacker> |
Component: |
importer | Assignee: |
Umbrello Development Group <umbrello-devel> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
normal
|
|
|
Priority: |
NOR
|
|
|
Version First Reported In: |
2.28.2 (KDE Applications 19.04.2) | |
|
Target Milestone: |
--- | |
|
Platform: |
Other | |
|
OS: |
All | |
|
Latest Commit:
|
https://commits.kde.org/umbrello/8d46395ab8ad6b7021035dd1c11e5cfd00757b62
|
Version Fixed In:
|
2.28.3 (KDE Applications 19.04.3)
|
Sentry Crash Report:
|
|
| |
Attachments: |
test case
|
Created attachment 121159 [details] test case SUMMARY Static and instance specific class attributes with initializiers are not imported STEPS TO REPRODUCE 1. download appended test case 2. start umbrello 3. choose python as active language 3. import appended file OBSERVED RESULT umbrello interprets initializations for list, dict and tuple incorrectly EXPECTED RESULT umbrello should import the initializations as attribute initial values SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION