[issue1612262] Class Browser doesn't show internal classes

Terry J. Reedy report at bugs.python.org
Thu Sep 21 14:04:01 EDT 2017


Terry J. Reedy added the comment:

I am revising the codecontext patch to use comprehensions and the sort key option.  I will rename the new function 'collect_objects' (GPolo) / '_traverse_node' (CSabella) as 'list_children' and have it return the name-object list, ordered by line number, needed by the tree widget.

[The input is a dictionary of children of a node, rather than a node, because pyclbr returns the dictionary of the children of the root module node of the tree, rather than a root node itself.  Sorting is not actually needed for 3.6/7 because the dicts are already ordered, but pyclbr does not guarantee this by using OrderedDict.  Proposing these two changes is a separate potential issue.]

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1612262>
_______________________________________


More information about the Python-bugs-list mailing list