From: Florent R. <f.r...@fr...> - 2015-05-28 16:00:23
|
Hello, I am pleased to announce the release of pythondialog 3.3.0. You can read a summary of the changes in this version at: http://pythondialog.sourceforge.net/news.html#3.3 For your convenience, here is a text dump of this summary: Main changes in version 3.3.0 * The Python 2 backport has been updated to this version; it is now up-to-date. * Allow passing dialog arguments via a temporary file In order to prevent information leak through the process table (which normally shows all commands executed by any user, along with their arguments), pythondialog can now write dialog arguments to a temporary file and call dialog with the --file option to point him to this temporary file, where it will read the “real” arguments (such as --msgbox, box titles, messages to display in boxes, etc.). This new behavior is enabled by default starting from pythondialog 3.3.0 if the dialog version is 1.2-20150513 or later. The Dialog class constructor accepts a new keyword-only argument, pass_args_via_file, that allows one to explicitly choose whether to use the feature or not. Dialog.setup_debug() offers a new expand_file_opt parameter to allow producing debug log files with full dialog commands as before, instead of dialog calls containing only one --file option followed by a path to a temporary file. Similarly, examples/demo.py accepts a new option (-E, --debug-expand-file-opt) to allow obtaining the same dialog commands as before in the file generated by --debug (i.e., with the --file options expanded instead of referring to the temporary files). * Bug fix in Dialog._dialog_version_check() (which is typically used to check whether a given widget is available in the selected dialog version): the message passed when raising InadequateBackendVersion had a hardcoded “the programbox widget” substring where it should have been using the feature parameter. -- Florent |