__bases__ modification produces a crash with python2.6 : traceback $ python2.6 ~/src/pylint/lint.py t.py Traceback (most recent call last): File "src/pylint/lint.py", line 31, in <module> from pylint.checkers import utils File "src/pylint/checkers/__init__.py", line 39, in <module> from logilab.astng.utils import ASTWalker File "src/logilab/astng/__init__.py", line 58, in <module> from logilab.astng.nodes import * File "src/logilab/astng/nodes.py", line 133, in <module> cls.__bases__ = (StmtMixIn, NodeNG) + cls.__bases__ TypeError: __bases__ assignment: 'StmtMixIn' object layout differs from 'stmt' | |
| priority | important |
|---|---|
| type | bug |
| appeared in | <not specified> |
| done in | 0.20.0 |
| load | 3.000 |
| load left | 0.000 |
| closed by | <not specified> |


#13944 false positive for class/instance attributes
Comments
-
2009/11/23 19:21, written by sthenault
| reply to this comment
-
2009/11/26 17:58, written by eanclin
| reply to this comment
(add comment)notice this is only in the code repository, not in any published release
We have no simple solution for that. So we will rebuild entire tree. This will simplify a lot the astng code.