Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

in my experience pyright is unable to infer many inherited object types (compared to PyCharm's type inference)


PyCharm definitely excels on more ‘dynamic’ code but the number of times I’ve pulled in code written by colleagues using PyCharm only to get a rainbow of type errors from Pyright is too damn high.

The PyCharm checker seems to miss really, really obvious things, e.g. allowing a call site to expect a string while the function returns bytes or none.

Maybe my colleagues just have it configured wrong but there’s several of them and the config isn’t shared.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: