R. David Murray <rdmur...@bitdance.com> added the comment: Adding an option would also be a reasonable feature request, but I think exposing _QueryDialog would be a more general solution, since it would apply to more than just strings.
While not backward incompatible, either of these is a new feature and so can only go into 3.3. ---------- stage: -> needs patch title: tkSimpleDialog.askstring shouldn't allow empty string input -> Provide an API in tkSimpleDialog for defining custom validation functions versions: +Python 3.3 -Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12723> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com