[python-committers] Python 4.0 or Python 3.10?

Yury Selivanov yselivanov.ml at gmail.com
Wed Sep 26 13:54:11 EDT 2018


On Wed, Sep 26, 2018 at 1:25 PM Paul Moore <p.f.moore at gmail.com> wrote:
[..]
> but I don't know how
> useful it would be in practice - can you give some examples of use
> cases?)

It's hard to give a real life example as "py" doesn't support this,
but I can imagine the following scenario: if I have a script that uses
some new 3.6 feature I could probably run it from other scripts with
'py --min=3.6 myscript.py'.  That way I wouldn't need to write more
code or use other tools to check if the target system has a Python
3.6+ interpreter.

Yury


More information about the python-committers mailing list