Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon

IPython 7.2.0 is out!

Save for later
  • 2 min read
  • 04 Dec 2018

article-image

Last week, the IPython community announced its latest release, IPython 7.2, which is available on PyPI and will be soon available on Conda. This version includes some improvements, minor bug fixes, and also new configuration options.

Users can update to IPython 7.2 by using the following command:

pip install ipython --upgrade

Improvements in IPython 7.2

Ability to show subcases while using pinfo and other utilities


In this update, IPython will now list the first 10 subclasses whenever a ‘? / ??’ is used on a class.

OSMagics.cd_force_quiet configuration option


Users can now set the OSMagics.cd_force_quiet option to force the %cd magic to behave as if -q was passed. Here is the command:

In [1]: cd /
/

In [2]: %config OSMagics.cd_force_quiet = True

In [3]: cd /tmp

In [4]:

Current vi mode can now be configured


To control this feature, users need to set the TerminalInteractiveShell.prompt_includes_vi_mode to a boolean value (default: True).

Other improvements and bug fixes

  • Fixed a bug preventing PySide2 GUI integration from working
  • Unlock access to the largest independent learning library in Tech for FREE!
    Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
    Renews at €18.99/month. Cancel anytime
  • Users can now run CI on Mac OS
  • The IPython ‘Demo’ mode has been fixed
  • Fixed the %run magic with path in name
  • This update has an added CWD to sys.path after stdlib
  • The signatures (especially long ones) now have a better rendering
  • Users can re-enable jedi by default if it’s installed
  • This update has a new minimal exception reporting mode, which is mostly useful for educational purpose


There are still some outstanding bugs that will be fixed in the next release, which the community plans to release before the end of the year.

To know more about this release in detail, head over to IPython’s documentation.

IPython 7.0 releases with AsyncIO Integration and new Async libraries

Make Your Presentation with IPython

How to connect your Vim editor to IPython