mypy fails with mypyc, even with empty file
Đang mở
@msullivan đang làm issue này rồi.
Từ ngày 25/10/2019.
bug
topic-mypyc
- Ngôn ngữ chính
- Python
- Star
- 20.6k
- Fork
- 3.3k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
Steps to reproduce:
- pip install mypy # that's 0.740 here, also same with HEAD on github
- pip install mypy-mypyc
- create an empty file foo.py
mypy foo.py
Traceback (most recent call last):
File "/home/xo/.conda/envs/intel37/bin/mypy", line 6, in <module>
from mypy.__main__ import console_entry
File "/home/xo/.conda/envs/intel37/lib/python3.7/site-packages/mypy/__main__.py", line 4, in <module>
from mypy.main import main
File "mypy/main.py", line 12, in <module>
File "/home/xo/.conda/envs/intel37/lib/python3.7/site-packages/mypy/build.py", line 33, in <module>
from mypy.semanal import SemanticAnalyzer
File "/home/xo/.conda/envs/intel37/lib/python3.7/site-packages/mypy/semanal.py", line 84, in <module>
from mypy.messages import best_matches, MessageBuilder, pretty_or
File "/home/xo/.conda/envs/intel37/lib/python3.7/site-packages/mypy/messages.py", line 28, in <module>
from mypy.typetraverser import TypeTraverserVisitor
File "mypy/typetraverser.py", line 14, in <module>
SystemError: null argument to internal routine
This combination may seem weird but the traceback is not helping much when this happens...
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.