[Zope3-Users] Eclipse + PyDev + deferred imports

Shailesh Kumar shaileshk at gmail.com
Tue Aug 11 01:52:09 EDT 2009


I generally make it *from zope.component._api import getUtility* to make
PyDev happy. It doesn't hurt the code and I don't have to see the
'unresolved import message'.

This is even worse when importing reactor from twisted and using its
methods.

- Shailesh


On Tue, Aug 11, 2009 at 10:25 AM, andrew <andrew at reurbanise.co.nz> wrote:

> Hi All,
>
> Not a big problem, but it would be nice to be able to remove the
> annoying "unresolved import" messages I get in PyDev (in Eclipse) when
> doing, e.g.:
>
> from zope.component import getUtility
>
> which is a Zope deferred import, hence PyDev knows nothing about it.
>
> Has anyone else found a way around this ?
>
> Cheers, Andrew.
>
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20090811/aa09011d/attachment.html 


More information about the Zope3-users mailing list