ruff/crates/ruff_python_stdlib/src
konsti dda31b6996
List all ipython builtins (#8719)
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
2023-11-16 19:06:25 +01:00
..
builtins.rs List all ipython builtins (#8719) 2023-11-16 19:06:25 +01:00
future.rs Rewrite a variety of .contains() calls as matches! statements (#5432) 2023-06-28 22:42:27 -04:00
identifiers.rs Use the unicode-ident crate (#7212) 2023-09-07 08:19:25 +00:00
keyword.rs Remove some additional manual iterator matches (#5482) 2023-07-03 16:29:59 +00:00
lib.rs Introduce a ruff_python_semantic crate (#3865) 2023-04-04 16:50:47 +00:00
logging.rs Fix logging rules with whitespace around dot (#6022) 2023-07-24 05:14:48 +00:00
path.rs Add TOML files to SourceType (#6929) 2023-08-28 15:01:48 +00:00
str.rs Avoid allocations in lowercase comparisons (#5137) 2023-06-16 08:57:43 -04:00
sys.rs Use u8 to represent version segments (#7578) 2023-09-21 14:24:51 -04:00
typing.rs [B006] Add bytes to immutable types (#5776) 2023-07-15 13:04:33 +00:00