enhancement to reset: reset_selective

Bug #557302 reported by breisfeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Fix Committed
Undecided
Unassigned

Bug Description

The current 'reset' function clears all variables from the user's namespace. Often, it would be useful to clear only selected variables.

I have written a new function 'reset_selective' that allows the user to clear selected variables from the namespace based on a regular expression that is entered.

Related branches

Revision history for this message
breisfeld (breisfeld) wrote :
Revision history for this message
Fernando Perez (fdo.perez) wrote :

Great, thanks for the contribution! Pushed to trunk in r1256.

Changed in ipython:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.