
    f                         d Z ddlmZ edk(  rM e       Zdej
                  vrg ej
                  d<   dZd Zej
                  d   Zej                  e       d Z
yy)	aS  Minimal script to reproduce our nasty reference counting bug.

The problem is related to https://github.com/ipython/ipython/issues/141

The original fix for that appeared to work, but John D. Hunter found a
matplotlib example which, when run twice in a row, would break.  The problem
were references held by open figures to internals of Tkinter.

This code reproduces the problem that John saw, without matplotlib.

This script is meant to be called by other parts of the test suite that call it
via %run as if it were executed interactively by the user. As of 2011-05-29,
test_run.py calls it.
    )get_ipython__main___refbug_cacheHelloc                      t         S )N)aglobal     T/var/www/cvtools/html/venv/lib/python3.12/site-packages/IPython/core/tests/refbug.pyfr   &   s    r
   c                  X    t         D ]!  } t        d |        j                                # y )Nzlowercased:)cacheprintlower)funcs    r   call_fr   ,   s#     	0D-/	0r
   N)__doc__IPythonr   __name__ipuser_nsr   r   r   appendr   r	   r
   r   <module>r      sk   &   z	Bbjj(&(

?# G JJ'E	LLO0 r
   