Export to GitHub

pysmell - issue #16

NameVisitor is not picking up Classes defined in the source


Posted on Nov 5, 2008 by Grumpy Rabbit

Define a class like so:

{{{

class New(object): def method(self): pass

}}}

then try to complete like so:

{{{

a = New() a.

}}}

Names visitor doesn't pick up it, so it doesn't recognise a as an instance of New.

Comment #1

Posted on Nov 6, 2008 by Grumpy Rabbit

Fixed in github

Status: Fixed

Labels:
Type-Defect Priority-Medium