Your message dated Sun, 18 Jan 2015 12:12:10 +0000
with message-id
<CAB4XWXxNm6P0Ugrq36vu1U76hwM76=kfhti0rbyc1btujkd...@mail.gmail.com>
and subject line Re: Bug#775670: pylint: GTK & GObject E1101 false positives
has caused the Debian Bug report #775670,
regarding pylint: GTK & GObject E1101 false positives
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
775670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775670
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pylint
Version: 1.3.1-2
Severity: normal
Dear Maintainer,
Any Python application using GTK or even just GObject yields E1101 false
positives, thus making this particular check unusable.
Here is how to reproduce this error:
$ cat >e1101.py <<__EOF__
#! /usr/bin/env python
"""Test file for pylint's E1101 bug"""
print "Importing gobject"
import gobject
print "Calling threads_init"
gobject.threads_init()
print "Success!"
__EOF__
$ chmod +x ./e1101.py
$ ./e1101.py # Proves that gobject.threads_init() exists
Importing gobject
Calling threads_init
Success!
$ pylint --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' e1101.py |
grep gobject
No config file found, using default configuration
E1101: 9,0: : Module 'gobject' has no 'threads_init' member
gobject (e1101)
Note that this bug is not present in pylint 0.25.1 (from Debian 7.6).
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pylint depends on:
ii python 2.7.8-2
ii python-astroid 1.2.1-3
ii python-logilab-common 0.62.0-1
pn python:any <none>
Versions of packages pylint recommends:
ii python-tk 2.7.8-2+b1
pylint suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hello,
On Sun, Jan 18, 2015 at 11:53 AM, Francois Gouget <fgou...@free.fr> wrote:
> $ pylint --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' e1101.py
> | grep gobject
> No config file found, using default configuration
> E1101: 9,0: : Module 'gobject' has no 'threads_init' member
> gobject (e1101)
you want --extension-pkg-whitelist=gobject cli switch, to enable the
inspection of gobject extension.
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
--- End Message ---