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
Git commit 8d46395ab8ad6b7021035dd1c11e5cfd00757b62 by Ralf Habacker. Committed on 26/06/2019 at 12:15. Pushed by habacker into branch 'Applications/19.04'. Fix 'Python import do not support attributes with initializers' FIXED-IN:2.28.3 (KDE Applications 19.04.3) M +21 -3 test/import/python/types.py M +22 -9 umbrello/codeimport/pythonimport.cpp https://commits.kde.org/umbrello/8d46395ab8ad6b7021035dd1c11e5cfd00757b62