[Mesa-dev] [PATCH 01/26] python: Use the print function

Mathieu Bridon bochecha at daitauha.fr
Thu Jul 5 18:58:01 UTC 2018


On Thu, 2018-07-05 at 08:40 -0700, Dylan Baker wrote:
> This is a really big patch that should be mostly mechanical,

It's mostly me running `2to3 --fix=print` on all those Python scripts,
and adding the `from __future__ import print_function` so that it's
compatible with Python 2.

In a few rare instances I had to manually fix some things (e.g 2to3 had
used `end=' '` and I had to replace it by `end=''`) so that the
generated code would be identical to the one generated on master.


-- 
Mathieu


More information about the mesa-dev mailing list