On 27 août 13:12, Kostyrka (External user) Andreas wrote:
> One curious thing, a class that implements the Python descriptor protocol 
> (__get__/__set__/__delete__) triggers R0903.
> 
> Perhaps some protocols (e.g. Descriptor) should automatically suppress R0903, 
> e.g. as the methods to be implemented are dictated by Python and e.g. for 
> Descriptors there is seldom use in providing more methods.
> (alternatively, __get__ & friends should be considered as public methods?)

I agree. IIRC there is a ticket about that on logilab.org but you may create a
new one anyway on bitbucket.

-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to