Subject: bug#28160: Support newer version of python

From: Thomas Jahns <[email-masked]>
Date: Fri, 15 Sep 2017 11:42:34 +0200

On 09/15/17 11:17, Mathieu Lirzin wrote:
> Instead of preemptively adding possible future version of Python that
> hopefully would be released, I would prefer a solution that removes the
> need to hard-code them.
> 
> WDYT?

Why not parse PATH and filter what pathelem/python* returns for a pattern like

python[0-9.]*

then test for executability and extract numerically highest (that's probably the 
hardest part) suffix?

Regards, Thomas