Add Python 2.7 support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ospurge |
New
|
Undecided
|
Unassigned |
Bug Description
While Python 3 is obviously the future, Python 2 remains widely used. To ease the transition to Python 3, I would like to add back the Python 2.7 support to ospurge. It would prevent to have to maintain a private fork, write a new project from scratch, etc.
I talked with Jordan Pittier who agrees to add back Python 2 support. He told me that another company already asked him the same.
Jordan seems to even agree to completely drop type annotations. I'm not confortable with that, but I'm not used to annotations, and I don't think that it's completely possible to annotate types in comments in Python 2. Maybe we should the other approach, write annotations in a completely different .pyi file.
Related fix proposed to branch: master /review. openstack. org/514315
Review: https:/