Subject: CVS commit: pkgsrc/devel/py-ipython
From: Adam Ciarcinski
Date: 2021-06-10 09:19:46
Message id: 20210610071946.E7E75FA95@cvs.NetBSD.org

Log Message:
py-ipython: updated to 7.24.1

IPython 7.24
============

Third release of IPython for 2021, mostly containing bug fixes. A couple of not
typical updates:

Misc
----

 - Fix an issue where ``%recall`` would both succeeded and print an error message
   it failed. :ghpull:`12952`
 - Drop support for NumPy 1.16 – practically has no effect beyond indicating in
   package metadata that we do not support it. :ghpull:`12937`

Debugger improvements
---------------------

The debugger (and ``%debug`` magic) have been improved and can skip or hide frames
originating from files that are not writable to the user, as these are less
likely to be the source of errors, or be part of system files this can be a useful
addition when debugging long errors.

In addition to the global ``skip_hidden True|False`` command, the debugger has
gained finer grained control of predicates as to whether to a frame should be
considered hidden. So far 3 predicates are available :

  - ``tbhide``: frames containing the local variable ``__tracebackhide__`` set to
    True.
  - ``readonly``: frames originating from readonly files, set to False.
  - ``ipython_internal``: frames that are likely to be from IPython internal
    code, set to True.

You can toggle individual predicates during a session with

.. code-block::

   ipdb> skip_predicates readonly True

Read-only files will now be considered hidden frames.

You can call ``skip_predicates`` without arguments to see the states of current
predicates:

.. code-block::

    ipdb> skip_predicates
    current predicates:
        tbhide : True
        readonly : False
        ipython_internal : True

If all predicates are set to ``False``,  ``skip_hidden`` will practically have
no effect. We attempt to warn you when all predicates are False.

Note that the ``readonly`` predicate may increase disk access as we check for
file access permission for all frames on many command invocation, but is usually
cached by operating systems. Let us know if you encounter any issues.

As the IPython debugger does not use the traitlets infrastructure for
configuration, by editing your ``.pdbrc`` files and appending commands you would
like to be executed just before entering the interactive prompt. For example:

.. code::

    # file : ~/.pdbrc
    skip_predicates readonly True
    skip_predicates tbhide False

Will hide read only frames by default and show frames marked with
``__tracebackhide__``.

Files:
RevisionActionfile
1.60modifypkgsrc/devel/py-ipython/Makefile
1.37modifypkgsrc/devel/py-ipython/distinfo