logilab-astng #18186 astng crash on python2.6 [validation pending]
__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 |
done in | 0.20.0 |
load | 3.000 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2009/11/23 18:21, written by sthenault
-
2009/11/26 16:58, written by eanclin
add commentnotice 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.