On 05/03/18 10:27, Daniel P. Berrangé
wrote:
BTW, we just hit a problem with macOS homebrew changing python to point toI noticed that in there are only 7 python files which need to be made compatible with Py3.a py3 binary and that showed other libvirt failures. In particular the ESX code generator is broken under py2. I wouldn't be surprised if more of our python scripts are also broken. So I think we need a general work item to fix py3 compat for libvirt - if someone wants to work on it for the 4.2.0 release.... docs/reformat-news.pyThe 2to3 tool shows some obvious fixes. (e.g. print statement, dict.items(), etc.) In addition, this documentation very helpful: http://www.diveintopython3.net/porting-code-to-python-3-with-2to3.html Radostin |
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list