I couldn't find an issue dealing with this problem.
Have this example code:
from clint.textui import prompt
for d in range(3):
print(prompt.yn("Yes?"))
for y in range(3):
print(prompt.yn("Yes? default=y", default="y"))
for n in range(3):
print(prompt.yn("Yes? default=n", default="n"))
Output is:
Yes? [Y/n] y
True
Yes? [Y/n] n
False
Yes? [Y/n]
True
Yes? default=y [Y/n] y
True
Yes? default=y [Y/n] n
False
Yes? default=y [Y/n]
True
Yes? default=n [y/N] y
False
Yes? default=n [y/N] n
True
Yes? default=n [y/N]
True
If I chose "n" for default, the boolean value is negative.
I think this line should be the other way round:
https://github.com/kennethreitz/clint/blob/master/clint/textui/prompt.py#L59