### Summary Despite its name, [`os._exit`](https://docs.python.org/3.9/library/os.html#os._exit) is not private; see #6483. [`import-private-name` (PLC2701)](https://docs.astral.sh/ruff/rules/import-private-name/) treats it as private, which is inconsistent with [`private-member-access` (SLF001)](https://docs.astral.sh/ruff/rules/private-member-access/). The two rules should share the same set of exceptionally non-private module members (which is currently just `os._exit`). ```console $ cat >plc2701.py <<'# EOF' from os import _exit # EOF $ ruff --isolated check plc2701.py --preview --select PLC2701 --output-format concise -q plc2701.py:1:16: PLC2701 Private name import `_exit` from external module `os` ``` ### Version ruff 0.11.10 (b35bf8ae0 2025-05-15)