[PATCH 1/2] Introduce testsuite support to run Python tests
David Malcolm
dmalcolm@redhat.com
Thu Jul 27 13:40:00 GMT 2017
On Thu, 2017-07-27 at 10:49 +0200, Pierre-Marie de Rodat wrote:
> On 07/26/2017 06:48 PM, David Malcolm wrote:
> > IIRC RHEL 6 has Python 2.6 as its /usr/bin/python (but Python 2.7
> > is
> > available as a "software collection" add-on).
> >
> > I don't know if gcc as a project would want to support 2.6+ or
> > simply
> > 2.7 for Python 2.
>
> I donât know neither: letâs wait for further feedback, then. If
> needed
> Iâll turn all the .format into % operations.
Note that str.format was introduced in Python 2.6, so even if we do
support that old version, str.format is still good; no need to rewrite
those ops.
(sorry, I used to maintain Python for RHEL, so I'm perhaps over
-sensitive to this kind of thing).
Dave
More information about the Gcc-patches
mailing list