from
Alexandre Fayolle <alexandre.fayolle at logilab dot fr>
to
Python-Projects <python-projects at lists dot logilab dot org>
subject
[Python-projects] Bug#352702: pylint-0.9 is confused about subclassing
date
----- Forwarded message from Narayan Desai <desai at mcs.anl.gov> -----2006/02/14 12:03
From: Narayan Desai <desai at mcs.anl.gov>
Date: Mon, 13 Feb 2006 10:17:02 -0600
Subject: Bug#352702: pylint-0.9 is confused about subclassing
Package: pylint
Version: 0.9.0-2
Running pylint on code that subclasses M2Crypto's SSLServer class
causes it to complain about "access to undefined member" for member
data and functions that are defined through inheritance. This causes
errors to be logged for code that was previously reported clean.
One of the errors that is reported is:
Component.py:220: [E, Component.serve_forever] Access to undefined member 'handle_request'
[0:150] python
Python 2.3.5 (#2, Nov 20 2005, 16:40:39)
[GCC 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Component
>>> Component.Component.handle_request
<unbound method Component.handle_request>
This demonstrates that the member function is properly defined.
I can make this code available, if it would help in reproducing this
bug.
thanks.
-nld
----- End forwarded message -----
--
Alexandre Fayolle LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Retrait du projet de loi DADVSI: http://eucd.info/petitions/index.php?petition=2
