IDG SERPRO

Results 109 comments of IDG SERPRO

@PCManticore update description to use last version of pylint.

Uhm, maybe we can get some help from Zope guys? They may not be familiar with pylint but they may be with some Zope internals. @icemac @tseaver @hannosch

@PCManticore I don't know exactly what you need to do here but you couldn't use the python [\_\_mro\_\_](https://docs.python.org/2/library/stdtypes.html#class.__mro__) attribute? ```python from OFS.Folder import Folder print Folder.__mro__ (, , , ,...

@PCManticore note that ```__mro__``` is a class attribute, not an object attribute. In your attempts to discover the MRO you also use the class attribute: ```python def mro(C): "Compute the...

@PCManticore I updated the description to add the ```Products.CMFPlone``` dependency in buildout and upgrade the version of ```pylint``` to 1.9.3

@PCManticore the ```ExtensionClass.Base``` class referenced by @tseaver isn't the problem here. The ```astroid``` simply remove it of the inheritance stack, since it isn't possible to infer its attributes. I tested...

@PCManticore contrary to what I said in the previous comment, it's just the ```ExtensionClass.Base``` class that's causing the problem. It seems that python changes the order of mro when it...

In the case of python in previous comment, when class "D" inherits from Base, mro changed because python considered class "A" as old style. See [here](https://docs.python.org/2/tutorial/classes.html#multiple-inheritance) and [here](https://wiki.python.org/moin/NewClassVsClassicClass). For a...

I run the code of https://github.com/PyCQA/pylint/issues/2188#issuecomment-423714441 with the class ```D``` inheriting from [greenlet.greenlet](https://github.com/python-greenlet/greenlet), which is a type implemented in C, and the order of mro hasn't changed. The result was:...