-
Notifications
You must be signed in to change notification settings - Fork 289
Description
My tale of woe
I have a Windows PC, and I wanted to run pytype on my code. I had to install WSL and then load several needed packages. Not only was this a big pain, but when pytype gave me some bad results, I tried debugging it.
I'm not familiar with the latest IDEs on linux, nor did I want to spend the effort of learning to debug Python code visually (and load even more packages).
So I resorted to inserting lots of print() calls in the code until I figured out what the problem was.
About two days spent on this effort.
I managed to get good pyi outputs for most, but not all, of my source code. I then tried running merge_pyi on the good ones, only to find out that merge_pyi crashed.
On the hunch that at least merge_pyi didn't do anything weird, I installed pytype on my Windows Python, and used Visual Studio to debug it. It worked without problems. I was able to find and fix the bug, and file an issue about it. See #1153.
The pitch
I presume that there can't be too much involved in getting the entire pytype package to run correctly on Windows. After all, Python is mostly portable.
It would be a great assistance to Windows Python users if they could run pytype directly.
Thank you.