ipython/ipython — Issue #1026: BUG: wrong default parameter in ask_yes_no
Author: xuyuan
Created: 2011-11-21 23:31:53+00:00
State: open

How to reproduce?
-------------------------

call reset magic, give empty answer, the default 'n' has no affects

Issue:
--------

reset magic call core.interactiveshell.ask_yes_no with any default value,

and

utils.io.ask_yes_no accepts string as default answer, while core.interactiveshell.ask_yes_no pass True in!

Solution:
------------

give 'n' in reset magic, and fix the default answer of core.interactiveshell.ask_yes_no