Files
ruff/crates/ruff_python_stdlib
Brent Westbrook 609e184aa3 Stop defining __cached__ for Python 3.15 (#28476)
Summary
--

This moves `__cached__` from the main list of `MAGIC_GLOBALS` to a
version-specific list because it will be
[removed](https://docs.python.org/3/reference/datamodel.html#module.__cached__)
in 3.15.

Test Plan
--

A new mdtest for `undefined-name` (`F821`), which is just one of the
rules affected but the easiest to test.
2026-09-10 09:10:00 -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.