Debian Codegraph @

docs/source/whatsnew/development.rst

raw
1 =====================
2 Development version
3 =====================
4
5 This document describes in-flight development work.
6
7 .. warning::
8
9 Please do not edit this file by hand (doing so will likely cause merge
10 conflicts for other Pull Requests). Instead, create a new file in the
11 `docs/source/whatsnew/pr` folder
12
13
14 Development version (unreleased)
15
16
17 Need to be updated:
18
19 .. toctree::
20 :maxdepth: 2
21 :glob:
22
23 pr/*
24
25
26
27
28
29 Gruvbox Dark Theme
30 ==================
31
32 Gruvbox Dark is now available as a terminal syntax theme for IPython.
33
34 Respect PYTHONSAFEPATH
35 ======================
36
37 IPython now respects the value of Python's flag ``sys.flags.safe_path``, a flag which is most often set by the ``PYTHONSAFEPATH`` environment variable. Setting this causes Python not to automatically include the current working directory in the sys.path.
38
39 IPython can already be configured to do this via the ``--ignore_cwd`` command-line flag or by setting ``c.InteractiveShellApp.ignore_cwd=True``. Now, IPython can also be configured by setting ``PYTHONSAFEPATH=1`` or by calling python with ``-P``.
40
41 The behavior of ``safe_path`` was described in `what's new in 3.11`_ and in `PyConfig docs`_.
42
43
44 .. _what's new in 3.11: https://docs.python.org/3/whatsnew/3.11.html#whatsnew311-pythonsafepath
45 .. _PyConfig docs: https://docs.python.org/3/c-api/init_config.html#c.PyConfig.safe_path
46
47 .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
48
49 Backwards incompatible changes
50 ------------------------------
51
52 .. DO NOT EDIT THIS LINE BEFORE RELEASE. INCOMPAT INSERTION POINT.