[Piglit] [PATCH 0/5] Python 3 port, again

Timothy Arceri t_arceri at yahoo.com.au
Fri Jul 17 06:24:31 PDT 2015


On Thu, 2015-07-16 at 15:53 -0700, Dylan Baker wrote:
> On Thu, Jul 09, 2015 at 02:25:40PM -0700, Dylan Baker wrote:
> > This series ports the python framework to python 3. This is an updated
> > version of the previous incarnations of this series, rebased on master.
> > 
> > So what does python3 buy us? 
> > First, it buys us new features, and new features in the future. Python
> > 2.x is in maintenance mode, so no new features. Features that this
> > series takes advantage of:
> >  - builtin xz support. Everyone gets xz, no modules required, no xz
> >    binary required, it "just works"
> >  - subprocess timeouts. Finally, a reliable, cross platform method for
> >    allowing tests to time out
> >  - 'raise from' gives better error reporting
> >  - no argument super(), which is, admittedly probably not very
> >    interesting to most people, but it's awesome to me.
> > 
> > I have an additional series that can land after these land that take
> > advantage of these features:
> >  - a new spinner-less, lock-less Log class. With timeouts we don't need to
> >    worry about tests running forever, they'll be killed automatically.
> >    This allows us to simplify the Log class significantly, and since
> >    it's now lock-less we don't spend time in lock contention.
> > 
> > 
> > But there are still users that don't have the option of python 3!
> > Here's my idea for handling this:
> > Before I push python3 to master, I'll create a new branch,
> > python2-master. The idea would be that any non framework change could be
> > cherry picked over to this branch as long as there are uses that need
> > it, and they will work. Obviously any framework changes that are needed
> > to make this work will get backported.
> > 
> > This is available at my github:
> > https://github.com/dcbaker/piglit submit/python3
>
> bump

Has everyone agreed to branching off a python2 version of piglit?




More information about the Piglit mailing list