Hello,

I have released pyrift, which includes 7 PyPy-specific rules that
detect code behaving silently differently on PyPy vs CPython:

PPY001 - __del__ resource cleanup silently leaks due to GC timing
PPY002 - ctypes incomplete implementation
PPY003 - sys.getrefcount() always returns a dummy constant
PPY004 - weakref.proxy() raises ReferenceError unpredictably
PPY005 - file writes may be lost without explicit flush
PPY006 - monkey-patching built-in types behaves differently
PPY007 - sys.intern() identity guarantees not preserved

    pip install pyrift && pyrift scan .

GitHub:    https://github.com/BHUVANSH855/pyrift
PyPI:      https://pypi.org/project/pyrift/
Rule docs: https://github.com/BHUVANSH855/pyrift/blob/main/docs/rules.md

I maintain the pypy-review-toolkit at:
https://github.com/BHUVANSH855/pypy-review-toolkit

I would value feedback from the PyPy team on rule correctness and
any behaviour differences I have missed that would make good additions.

Bhuvansh Kataria
_______________________________________________
pypy-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/pypy-dev.python.org
Member address: [email protected]

Reply via email to