GNU bug report logs - #68416
[PATCH] python: add 3.20 - 3.16 to the version search list

Previous Next

Package: automake-patches;

Reported by: Mike Frysinger <vapier <at> gentoo.org>

Date: Sat, 13 Jan 2024 06:42:01 UTC

Severity: normal

Tags: patch

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 68416 <at> debbugs.gnu.org (full text, mbox):

From: "Zack Weinberg" <zack <at> owlfolio.org>
To: "Jacob Bachmeyer" <jcb62281 <at> gmail.com>,
 "Frederic Berat" <fberat <at> redhat.com>
Cc: 68416 <at> debbugs.gnu.org, Mike Frysinger <vapier <at> gentoo.org>,
 Karl Berry <karl <at> freefriends.org>
Subject: Re: [bug#68416] [PATCH] python: add 3.20 - 3.16 to the version search
 list
Date: Tue, 16 Jan 2024 22:02:34 -0500
On Mon, Jan 15, 2024, at 7:02 PM, Jacob Bachmeyer wrote:
> Frederic Berat wrote:
>> pythons="python python2 python3"
>> for i in {20..0};do pythons="$pythons python3.$i";done
>> for i in {7..0};do pythons="$pythons python2.$i";done
>>
>> m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [$pythons])
>
> The {20..0} is a syntax unfamiliar to me, yet even Bash 3 has it...
> interesting.

Just responding to this specific thing: the POSIX shell spec doesn't
include any form of brace expansion.  ksh93 (-2008) does recognize
both {a,b,c} and {1..10}, but NetBSD /bin/sh and /bin/ksh don't.
The `seq` utility is not portable either.

zw




This bug report was last modified 1 year and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.