Skip to content
This repository

BUG: wrong default parameter in ask_yes_no #1026

xuyuan opened this Issue November 21, 2011 · 1 comment

2 participants

Yuan Min RK

How to reproduce?

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


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

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


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

Min RK

Thanks! this particular case doesn't actually occur in master anymore (because 'n' is now given as default), but the bug still persists, even though it never comes up.

Min RK minrk closed this issue from a commit November 21, 2011
Min RK fix default value in interactiveshell.ask_yes_no
was True, should be None

closes #1026
Min RK minrk closed this in 30385c4 November 21, 2011
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.