lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1400217f-2eb8-4fc8-8581-ef16cd01938d@kernel.org>
Date: Thu, 17 Apr 2025 06:09:41 +0200
From: Jiri Slaby <jirislaby@...nel.org>
To: Nicolas Pitre <nico@...xnic.net>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
 linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 07/13] vt: introduce gen_ucs_recompose_table.py to
 create ucs_recompose_table.h

On 16. 04. 25, 15:17, Nicolas Pitre wrote:
> On Wed, 16 Apr 2025, Jiri Slaby wrote:
> 
>> On 15. 04. 25, 21:17, Nicolas Pitre wrote:
>>> +/*
>>> + * {out_file} - Unicode character recomposition
>>> + *
>>> + * Auto-generated by {this_file}{generation_mode}
>>> + *
>>> + * Unicode Version: {unicodedata.unidata_version}
>>> + *
>>> +{textwrap.fill(
>>> +    f"This file contains a table with {table_description_detail}. " +
>>> +    f"To generate a table with {alt_description_detail} instead, run:",
>>> +    width=75, initial_indent=" * ", subsequent_indent=" * ")}
>>> + *
>>> + *   python {this_file}{alternative_mode}
>>
>> This should be python3. Or no 'python' at all -- I assume the script is
>> executable given "new file mode 100755".
> 
> On my system, python == python3 since many years. I think it is safe.

On many systems (incl. _all_ SUSE's):
$ python
bash: python: command not found

The convention is to call python3 if you want py3 (the same as you do in 
the script's shebang).

-- 
js
suse labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ