bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix crash in gnulib-tool.py under Python 2.6 and lower


From: Tim Rühsen
Subject: Re: Fix crash in gnulib-tool.py under Python 2.6 and lower
Date: Sat, 13 Oct 2018 22:42:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 13.10.18 21:28, Darshit Shah wrote:
> gnulib-tool.py will currently crash immediately on start if the underlying
> Python version is 2.6 or lower. The immediate crash that is seen occurs during
> the check for the Python version. The check uses a syntax which was only
> introduced in 2.7. I haven't checked, but I believe that the rest of the 
> script
> also uses 2.7+ syntax. Hence, I have also added a check to the script to exit
> out if the version of Python being used is less than 2.7.

Thanks so much !

But could make this a bit more future-proof. I was just thinking that
python version 4.0 would break your checks.

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]