On Fri, 28 Mar 2025, Matt Selsky wrote:
On Thu, Mar 27, 2025 at 02:48:54PM -0700, Fred Wright via devel wrote:

I've confirmed that it works with Python 2.7, including building the
extension.  That means that shebanging it to 'python3' is inappropriate,
unless there are systems with a 'python3' command and no 'python' command.

Hi Fred,

There are definitely systems with python3 and no python. Eg, Debian 12 for 
example.

What specifically is currently shebanged to python3 and maybe needs to be 
changed?

I'm referring to waf. It's easily worked around, though technically not having a 'python' command is a bug, since code that works with both Python 2 and Python 3 is supposed to use the more generic 'python' in the shebang line. The absence of Python 2 doesn't change that.

Fred Wright
_______________________________________________
devel mailing list
devel@ntpsec.org
https://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to