[petsc-dev] Python 3 support in configure

Jed Brown jed at jedbrown.org
Mon Oct 22 11:59:54 CDT 2018


Configure now supports Python 3.4+ in addition to the prior Python 2.6+
support.  If you are working on configure, please test with Python 3.
For example, observe that print is a function and map() returns a map
object so you'll need to use

  [f(x) for x in xs]

or

  list(map(f, xs))

if you require a list.  Please let us know of any issues you may
encounter.


More information about the petsc-dev mailing list