logilab-common #117580 TabError in logilab.common.registry with Python 3 [validation pending]
logilab-common 0.59.0 introduced 2 tabs in registry.py, but the rest of this file uses spaces, so a TabError now occurs with Python 3. $ python3.2 -c 'import logilab.common.registry' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python3.2/site-packages/logilab/common/registry.py", line 807 return False ^ TabError: inconsistent use of tabs and spaces in indentation Fix (for original registry.py not transformed by 2to3): sed -e "806s/\t\t/ /" -i registry.py | |
priority | important |
---|---|
type | bug |
done in | 0.59.1 |
load left | 0.000 |
closed by | #e22e9a85b9a4 remove 2 accidentally introduced tabs breaking python 3 compat. closes #117580 |
Comments
-
2013/02/09 15:20, written by idella4
add commentyes, you filed already. ditto here