Important

This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.

If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).

Development version

This document describes in-flight development work.

Warning

Please do not edit this file by hand (doing so will likely cause merge conflicts for other Pull Requests). Instead, create a new file in the docs/source/whatsnew/pr folder

Released …. …., 2019

Need to be updated:

Gruvbox Dark Theme

Gruvbox Dark is now available as a terminal syntax theme for IPython.

Respect PYTHONSAFEPATH

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.

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.

The behavior of safe_path was described in what’s new in 3.11 and in PyConfig docs.

Backwards incompatible changes