Join GitHub today
Port util metaprogramming files to Python3 #6072
Part of #6062
We use feature detection to try with idiomatic Py3 and fall back on Py2. This is preferred over version detection (i.e. checking which Python interpreter is used).
Note that the source of this file,