Python 3 is a GNOME 3.8 goal. We should make sure that our Python examples and internal tools (like the code gen) works fine with Python 3.
For the tp-glib codegen, I consider the appropriate level of testing to be "build with Python 2, save the _gen directory, build with Python 3, check that the generated files are identical".
Created attachment 72444 [details] [review]
Make the code generation tools work under either Python 2 or 3
They have been verified to produce identical output in _gen.
Still to do: port and retest the examples. I don't plan to do that myself.
I'm far from python3 expert, but it looks correct. And since you checked output is the same, that's convincing :)
Fixed in git for 0.21.0
on Dec 09, 2016 at 15:23:14.
(provided by the Example extension).