##// END OF EJS Templates
Test of simpler way to define ast macros. (#14100)...
Test of simpler way to define ast macros. (#14100) Provide and easier way to generate magics and pre-post hooks This introduce a code base way of modifying the ast. This allow to use Template strings with the two special variable names names `__code__` and `__ret__` allowing to quickly write a magic, or hooks that modify the ast. This also introduce a `%code_wrap` cell magic to on the fly wrap code. It is this easy to for example modify IPython to say time each block of code, or retry them, or wrap them in try/except and analyse the error message, profile... Note that this is not new, but simply convenience function and utilities, especially around hygiene.

File last commit:

r22288:87a0a70d
r28324:c3d7f161 merge
Show More
version4.rst
84 lines | 3.3 KiB | text/x-rst | RstLexer

4.x Series

IPython 4.2

IPython 4.2 (April, 2016) includes various bugfixes and improvements over 4.1.

  • Fix ipython -i on errors, which was broken in 4.1.
  • The delay meant to highlight deprecated commands that have moved to jupyter has been removed.
  • Improve compatibility with future versions of traitlets and matplotlib.
  • Use stdlib :func:`python:shutil.get_terminal_size` to measure terminal width when displaying tracebacks (provided by backports.shutil_get_terminal_size on Python 2).

You can see the rest on GitHub.

IPython 4.1

IPython 4.1.2 (March, 2016) fixes installation issues with some versions of setuptools.

Released February, 2016. IPython 4.1 contains mostly bug fixes, though there are a few improvements.

  • IPython debugger (IPdb) now supports the number of context lines for the where (and w) commands. The context keyword is also available in various APIs. See PR :ghpull:`9097`
  • YouTube video will now show thumbnail when exported to a media that do not support video. (:ghpull:`9086`)
  • Add warning when running ipython <subcommand> when subcommand is deprecated. jupyter should now be used.
  • Code in %pinfo (also known as ??) are now highlighter (:ghpull:`8947`)
  • %aimport now support module completion. (:ghpull:`8884`)
  • ipdb output is now colored ! (:ghpull:`8842`)
  • Add ability to transpose columns for completion: (:ghpull:`8748`)

Many many docs improvements and bug fixes, you can see the list of changes

IPython 4.0

Released August, 2015

IPython 4.0 is the first major release after the Big Split. IPython no longer contains the notebook, qtconsole, etc. which have moved to jupyter. IPython subprojects, such as IPython.parallel and widgets have moved to their own repos as well.

The following subpackages are deprecated:

  • IPython.kernel (now jupyter_client and ipykernel)
  • IPython.consoleapp (now jupyter_client.consoleapp)
  • IPython.nbformat (now nbformat)
  • IPython.nbconvert (now nbconvert)
  • IPython.html (now notebook)
  • IPython.parallel (now ipyparallel)
  • IPython.utils.traitlets (now traitlets)
  • IPython.config (now traitlets.config)
  • IPython.qt (now qtconsole)
  • IPython.terminal.console (now jupyter_console)

and a few other utilities.

Shims for the deprecated subpackages have been added, so existing code should continue to work with a warning about the new home.

There are few changes to the code beyond the reorganization and some bugfixes.

IPython highlights:

  • Public APIs for discovering IPython paths is moved from :mod:`IPython.utils.path` to :mod:`IPython.paths`. The old function locations continue to work with deprecation warnings.
  • Code raising DeprecationWarning entered by the user in an interactive session will now display the warning by default. See :ghpull:`8480` an :ghissue:`8478`.
  • The --deep-reload flag and the corresponding options to inject dreload or reload into the interactive namespace have been deprecated, and will be removed in future versions. You should now explicitly import reload from IPython.lib.deepreload to use it.