if type: options["type"] = type
if title: options["title"] = title
if message: options["message"] = message
- return Message(**options).show()
+ res = Message(**options).show()
+ # In some Tcl installations, Tcl converts yes/no into a boolean
+ if isinstance(res, bool):
+ if res: return YES
+ return NO
+ return res
def showinfo(title=None, message=None, **options):
"Show an info message"
Library
-------
+- Bug #807871: Fix tkMessageBox.askyesno result.
+
- Patch #1014992: In tarfile.readline, never return more than a line.
- Bug #1013882: Flush bz2 data even if nothing had been written so far.