mypy fails with mypyc, even with empty file
Abierto
@msullivan ya está trabajando en esto.
Desde el 25/10/2019.
bug
topic-mypyc
- Lenguaje dominante
- Python
- Estrellas
- 20.6k
- Forks
- 3.3k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
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...
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.