@charliermarsh: On this 126 byte snippet: - ty 0.0.65 stack-overflows - mypy 2.3.0 segfaults - Pyright 1.1.411 times out - Pyrefly 1.1.…

X AI KOLs Timeline Tools

Summary

A 126-byte snippet causes multiple Python type checkers (ty, mypy, Pyright, Pyrefly, Pycroscope) to crash, hang, or panic, highlighting interesting edge cases in these tools.

On this 126 byte snippet: - ty 0.0.65 stack-overflows - mypy 2.3.0 segfaults - Pyright 1.1.411 times out - Pyrefly 1.1.1 panics - Pycroscope 0.4.0 exits with an internal error https://t.co/udbf32v2aV
Original Article
View Cached Full Text

Cached at: 07/31/26, 12:45 AM

On this 126 byte snippet:

  • ty 0.0.65 stack-overflows
  • mypy 2.3.0 segfaults
  • Pyright 1.1.411 times out
  • Pyrefly 1.1.1 panics
  • Pycroscope 0.4.0 exits with an internal error https://t.co/udbf32v2aV

Similar Articles

pydantic-monty investigation

Simon Willison's Blog

An investigation into pydantic-monty, a minimal Python interpreter in Rust for sandboxed execution, confirming that its security limits (duration, memory, allocations, recursion) work as intended.

Are you expected to run five Python type-checkers now?

Hacker News Top

A blog post arguing that Python library maintainers should prioritize running multiple type-checkers on their test suite to ensure public API compatibility, highlighting challenges with compatibility and code pollution.

Pyrefly v1.0 is here

Lobsters Hottest

Pyrefly, an open-source Python type checker and language server, reaches v1.0, marking production readiness with significant performance improvements and adoption by major codebases like PyTorch and NumPy.