You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pyclbr not recursively showing classes in packages #68862
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2015-07-20.13:26:41.246>labels= []
title='pyclbr not recursively showing classes in packages'updated_at=<Date2015-07-20.13:29:27.928>user='https://bugs.python.org/worenklein'
Activity
worenklein commentedon Jul 20, 2015
In the following example, pyclbr does not report that foo.module.A is a superclass of C:
__module2.py__
import foo.module
class C(foo.module.B):
pass
__foo/module.py__
class A(object):
def foo(self):
print "bar"
__test.py__
import pyclbr
__results__
C => ['foo.module.B']
I've attached a patch to pyclbr.py to fix this.
worenklein commentedon Jul 20, 2015
P.S. Here are the results after the patch:
C => ['foo.module.B', 'foo.module.A', 'object']