Andreas Schwab added the comment: >>> _tkinter.create().getdouble(float('nan')) nan ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21881> _______________________________________