Data

IPython 7.2.0 is out!

1 min read

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
  • 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.

Read Next

IPython 7.0 releases with AsyncIO Integration and new Async libraries

Make Your Presentation with IPython

How to connect your Vim editor to IPython

Savia Lobo

A Data science fanatic. Loves to be updated with the tech happenings around the globe. Loves singing and composing songs. Believes in putting the art in smart.

Share
Published by
Savia Lobo

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago