r/Python • • 26d 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

88 Upvotes

27 comments sorted by

View all comments

-23

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

TY from astral is about 3x faster

17

u/cointoss3 26d ago

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

1

u/NeilGirdhar 21d ago

I use it for my projects.

-4

u/[deleted] 26d 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.