the.bay.news

Pyrift — static analyser for silent CPython/PyPy behaviour differences

Discussions on Python.org
Pyrift — static analyser for silent CPython/PyPy behaviour differences
I released pyrift, a static analysis library that detects Python code patterns that behave silently differently across CPython versions or between CPython and PyPy. These pass linting. They pass type checking. They only fail at runtime — producing wrong results or silently leaking resources. Install: pip install pyrift pyrift scan . What it detects (17 rules): CPython version compatibility — things like Exception.add_note() raising AttributeError on 3.10, asyncio.TaskGroup failing on 3....

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.