mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-25 03:22:52 +00:00
![]() I checked for ipython-specific builtins on python 3.11 using ```python import json from subprocess import check_output builtins_python = json.loads(check_output(["python3", "-c" "import json; print(json.dumps(dir(__builtins__)))"])) builtins_ipython = json.loads(check_output(["ipython3", "-c" "import json; print(json.dumps(dir(__builtins__)))"])) print(sorted(set(builtins_ipython) - set(builtins_python))) ``` and updated the relevant constant and match. The list changes from `display` to `__IPYTHON__`, `display`, `get_ipython`. Followup to #8707 |
||
---|---|---|
.. | ||
builtins.rs | ||
future.rs | ||
identifiers.rs | ||
keyword.rs | ||
lib.rs | ||
logging.rs | ||
path.rs | ||
str.rs | ||
sys.rs | ||
typing.rs |