New submission from Xinmeng Xia <xi...@smail.nju.edu.cn>:
Traceback (most recent call last): File "/home/xxm/Desktop/instrument/datasetpy3/FrisPy/example.py", line 4, in <module> import FrisPy File "/home/xxm/Desktop/instrument/datasetpy3/FrisPy/FrisPy/__init__.py", line 5, in <module> from .disc import * File "/home/xxm/Desktop/instrument/datasetpy3/FrisPy/FrisPy/disc.py", line 7, in <module> from . import coefficient_model File "/home/xxm/Desktop/instrument/datasetpy3/FrisPy/FrisPy/coefficient_model.py", line 34 if isinstance(args[0],np.ndarray): args = args[0] ^ TabError: inconsistent use of tabs and spaces in indentation It seems that it will better to use 4 spaces to replace "tab" in 2to3. ---------- components: 2to3 (2.x to 3.x conversion tool) files: example.py messages: 348714 nosy: xxm priority: normal severity: normal status: open title: 2to3 tab Problems type: compile error versions: Python 3.7 Added file: https://bugs.python.org/file48513/example.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37714> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com