[umbrello] [Bug 158739] Python Import Classes does not import Attributes

Ralf Habacker via KDE Bugzilla bugzilla_noreply at kde.org
Fri Sep 2 08:59:23 UTC 2016


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

--- Comment #5 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit dac2d69cba81cc00a47ba4d4e5bb462066ab6ced by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Add 'list' to python code generator list of default data types.

This type is required by python import, which uses the generator
data type list too.

M  +1    -0    umbrello/codegenerators/python/pythonwriter.cpp

http://commits.kde.org/umbrello/dac2d69cba81cc00a47ba4d4e5bb462066ab6ced

--- Comment #4 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit f8becb1075451f046230d3c41fd50e1d606258e4 by Ralf Habacker.
Committed on 02/09/2016 at 08:59.
Pushed by habacker into branch 'Applications/16.08'.

Add support for parsing python instance variables.

Instance variables are parsed from __init__ method
only according to python 3 tutorial.

M  +14   -0    test/import/python/types.py
M  +29   -1    umbrello/codeimport/pythonimport.cpp

http://commits.kde.org/umbrello/f8becb1075451f046230d3c41fd50e1d606258e4

--- Comment #3 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 43d647747fe4720c9f5e63d4fdda0c1368b05ed9 by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Refactor python assignment parser into separate method supporting class
variables.

Instance variables will be handled by this method too.

M  +10   -7    test/import/python/types.py
M  +54   -41   umbrello/codeimport/pythonimport.cpp
M  +2    -0    umbrello/codeimport/pythonimport.h

http://commits.kde.org/umbrello/43d647747fe4720c9f5e63d4fdda0c1368b05ed9

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


More information about the umbrello-devel mailing list