##// END OF EJS Templates
Fix clearing output references with `%reset out` (#14133)...
Fix clearing output references with `%reset out` (#14133) This should fix #14129. Namely the second reference to the output is stored in `user_ns_hidden`. That was already cleared during hard `%reset` but was not cleared when using `%reset out`. Manual `gc.collect()` is still required.

File last commit:

r22618:12e05563
r28367:7f4fe75c merge
Show More
bad_all.py
14 lines | 206 B | text/x-python | PythonLexer
"""Module with bad __all__
To test https://github.com/ipython/ipython/issues/9678
"""
def evil():
pass
def puppies():
pass
__all__ = [evil, # Bad
'puppies', # Good
]