[umbrello] [Bug 409209] New: Python import do not support attributes with initializers

Ralf Habacker bugzilla_noreply at kde.org
Wed Jun 26 13:10:30 BST 2019


https://bugs.kde.org/show_bug.cgi?id=409209

            Bug ID: 409209
           Summary: Python import do not support attributes with
                    initializers
           Product: umbrello
           Version: 2.28.2 (KDE Applications 19.04.2)
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: importer
          Assignee: umbrello-devel at kde.org
          Reporter: ralf.habacker at freenet.de
  Target Milestone: ---

Created attachment 121159
  --> https://bugs.kde.org/attachment.cgi?id=121159&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list