[Python-ideas] Code version evolver

Paul Moore p.f.moore at gmail.com
Mon Mar 11 19:21:52 EDT 2019


On Mon, 11 Mar 2019 at 20:39, francismb <francismb at email.de> wrote:
>
> Hi,
> I would like to discuss on the idea of a code (minor) version
> evolver/re-writer (or at least a change indicator). Let's see one wants
> to add a feature on the next version and some small grammar change is
> needed, then the script upgrades/evolves first the current code and then
> the new version can be installed/used.

That sounds very similar to 2to3, which seemed like a good approach to
the Python 2 to Python 3 transition, but fell into disuse because
people who have to support multiple versions of Python in their code
found it *far* easier to do so with a single codebase that worked with
both versions, rather than needing to use a translator.

Paul


More information about the Python-ideas mailing list