Python code containing class or instance variables with negative number as initializers are not imported correctly. Reproducible: Always Steps to Reproduce: 1. start umbrello 2. switch active language to python 3. import the appended test case Actual Results: Negative float numbers are not imported correctly. Expected Results: Negative numbers should be imported correctly.
Created attachment 100931 [details] test case
Git commit f63d986d50098dec9b4e97aea510dbc9ce781bb4 by Ralf Habacker. Committed on 05/09/2016 at 08:23. Pushed by habacker into branch 'Applications/16.08'. Fix 'Python import fails to import variable initializers with negative numbers'. FIXED-IN:2.20.2 (KDE Applications 16.08.2) M +6 -2 test/import/python/types.py M +6 -3 umbrello/codeimport/pythonimport.cpp http://commits.kde.org/umbrello/f63d986d50098dec9b4e97aea510dbc9ce781bb4