Files
ruff/crates/ruff_python_stdlib/src
Gore Williams 118c14fc4e [pylint] Gate ImportCycleError on Python 3.15 (PLW0133) (#28310)
Fix PLW0133's Python version gating for `ImportCycleError`.

`ImportCycleError` was added in Python 3.15, but Ruff currently treats
it as available starting in Python 3.13.

This updates the builtin exception classification so that:

- `PythonFinalizationError` remains available for Python 3.13+
- `ImportCycleError` is only considered available for Python 3.15+

Also adds regression coverage for the behavior across target Python
versions.

Closes part of #28206.
2026-09-04 15:53:58 -04:00
..
2025-05-16 13:25:28 +02:00