Droop & Python 3

On 14 May 2020, in Uncategorized, by jlundell

The STV election-counting software droop (see under PR Resources) was originally written in Python 2, which has over the years become obsolescent. I’ve moved it to Python 3 (3.6 or better, to be exact). It took about a day, mostly mechanical (helped a lot by 2to3).

If you’re moving to Python 3 yourself, do look into venv, its built-in virtual-environment facility, a simpler subset of the venerable virtualenv.

 

Leave a Reply

Your email address will not be published. Required fields are marked *