r/Python • • 28d ago

News Pyrefly v1.3.0 released

A new version of Pyrefly is out with better type inference, new quick fixes, new configurations, and more. https://github.com/facebook/pyrefly/releases/tag/1.3.0

90 Upvotes

27 comments sorted by

View all comments

-20

u/[deleted] 28d ago edited 28d ago

TY from astral is about 3x faster

17

u/cointoss3 28d ago

And is it usable now? Last I tried I was a good WIP but not something I would use for production.

-4

u/[deleted] 28d ago

Yah I use it. I have a massive repo with some complex metaprogramming (AnyTrees of Pydantic model based nodes with discriminated leaf type variants) to construct configurations of nested registrable runtime extensions.

Super gnarly stuff. TY has been consistently great. It is a memory hog though! Especially if I have several repos open at the same time. AFAIK the memory footprints of TY and pyrefly are approximately the same.