https://bugs.kde.org/show_bug.cgi?id=373844
Bug ID: 373844 Summary: Class aliases often get converted to instances Product: kdev-python Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language support Assignee: m...@svenbrauch.de Reporter: m...@flherne.uk Target Milestone: --- e.g. ``` class MyClass: pass class_list = [MyClass] class_type = class_list[0]() # should be an alias of 'MyClass', is instead an instance. foo = class_type() # should be a MyClass instance, but is mixed ``` This is because classes and their instances share the same AbstractType, we rely on the declaration which gets lost easily. -- You are receiving this mail because: You are watching all bug changes.