Files
ruff/crates/ruff_python_stdlib
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
..
2026-09-03 12:36:42 -04:00
2026-09-03 12:36:42 -04:00

ruff_python_stdlib

This crate is an internal component of Ruff. The Rust API exposed here is unstable and will have frequent breaking changes.

This version (0.0.12) is a component of Ruff 0.16.6. The source can be found here.

See Ruff's crate versioning policy for details on versioning.