This particular use-case is a bug in PyDev. I've just fixed it (so, if you want you can grab the nightly build tomorrow and it should be working already).
Cheers, Fabio On Thu, Aug 4, 2011 at 4:22 AM, Bartosz <gan...@poczta.onet.pl> wrote: > > Hi developers. > > I have an big problem with "Code analysis". > > In following line, the error "Undefined variable from import: __dict__" is > displayed: > capacity = SomeConstants.__dict__[someName] > > This code is works perfectly with Python. > > I have already tried to add "@DynamicAttrs" in class, unfortunately it > doesn't help. > > Do you know how to fix this issue? > > Best Regards > Bartosz > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > pydev-code mailing list > pydev-code@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pydev-code > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ pydev-code mailing list pydev-code@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-code