News for hackers. Stuff that matters.
Re:Ty: A fast Python type checker and language server by the_mitsuhiko on Wednesday May 07, 2025 @02:53PM (#43919331)
Not supporting plugins for a type checker to me is a plus. It’s quite frustrating that some Python projects only typecheck if you have plugins. That is a major source of frustration.
Re:Ty: A fast Python type checker and language server by Redoubts on Wednesday May 07, 2025 @04:11PM (#43920121)
I mean that kind of code exists; things like attrs are too magical otherwise
Re:Ty: A fast Python type checker and language server by zem on Wednesday May 07, 2025 @06:18PM (#43921090)
python packages that do a lot of metaprot can only be properly type checked if you replicate that metaprogramming at the type level. e.g. if dataclasses were not part of the standard library they would need a plug-in to be handled correctly.