Bug#624534: Report new bug

Carlo Giesa carlog at nwavedigital.com
Fri Apr 29 12:07:33 UTC 2011

Package: eclipse-pydev

I use regularly the __name__ property of classes in my code (which works perfectly in Python) but PyDev is always marking it as an error ("Undefined variable from import").
I tried to add the __name__ to the builtin imports but this did not remove the problem.
When I use auto completion, PyDev finds a __class__ property when typing a "." behind a class which is wrong. But if I use "__class__" property anyway, PyDev finds the "__name__" property.

I am using Windows 7 and Eclipse 3.5.2.M20100211-1343.

Carlo Giesa

More information about the pkg-java-maintainers mailing list