1
Vote

"Group by Member Type" gives invalid results in Object Browser

description

Create a Python project with a single .py file with the following content:
class C(object):
    f = 123
    def m(self, x, y):
        return x + y

def f(x, y):
    return x + y

v = 123
Open Object Browser, right-click in the left pane and choose "Group by Object Type". Expand the tree all the way down. Note how all nodes show up under "Namespaces" - both the .py file itself, and the class inside it.

Select the .py node in the left pane, then right-click the right pane and choose "Group by Object Type". Both the global function and the global variable show up under "Methods".

Select the class node in the left pane. The member variable shows up under "Methods".

comments