[Python-projects] list of false negatives
Sylvain Thénault
sylvain.thenault at logilab.fr
Thu Feb 14 12:51:58 CET 2008
On Thu, Feb 14, 2008 at 12:30:38PM +0100, Simon Schampijer wrote:
> Hi,
>
> I try to use pylint in an project where we use gobject, gtk and dbus.
> Below I have a list of false negatives I found. Regarding gtk I found
> this pointer
> (http://lists.logilab.org/pipermail/python-projects/2006-November/001007.html),
> but could not find something about the gobject issue. Maybe someone can
> comment or provide me with pointers I can look at, thanks.
i think this is due to a known pb with the way astng is built from
living object (which is necessary when object is coming from C code):
if object's __module__ attribute isn't equivalent to the actual (python)
name of the compiled module, it's missing an important part of available
information. E.g. since :
>>> GObject.__module__
'gobject'
while GObject is actually defined in gobject._gobject, and the same
problem occurs much probably on other objects.
The simpliest way to fix this is to report a bug on the pygtk tracker.
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique: http://www.logilab.fr/science
More information about the Python-Projects
mailing list