[Python-projects] Pylint bug: false error message "Module 'pysvn' has no 'wc_status_kind' member".
Barry Scott
barry.scott at onelan.co.uk
Thu Feb 8 17:55:14 CET 2007
Carsten Koch wrote:
> Test case:
>
> % pylint --version
> pylint 0.12.2,
> astng 0.16.3, common 0.21.2
> Python 2.5 (r25:51908, Jan 9 2007, 16:59:32)
> [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)]
> % pylint -r n pylint_bug.py
> ************* Module pylint_bug
> E: 9: Module 'pysvn' has no 'wc_status_kind' member
> cko/hp> python pylint_bug.py
> wc_status_kind
> <wc_status_kind object at 0x8059fdc>
> % cat pylint_bug.py
> """
> pylint bug - pylint shows a false
> "Module 'pysvn' has no 'wc_status_kind' member"
> error message.
> """
> __revision__ = "1"
> import pysvn
> print dir(pysvn)[-1]
> print pysvn.wc_status_kind
>
Is pylint failing to find wc_status_kind because its defined in a python
extension?
The pysvn module import * from _pysvn and _pysvn is an extension.
Barry (pysvn developer)
More information about the Python-Projects
mailing list