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] [day] [month] [year] [list]
Message-ID: <8734a7ndni.fsf@trenco.lwn.net>
Date: Mon, 04 Aug 2025 12:29:53 -0600
From: Jonathan Corbet <corbet@....net>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org, Akira Yokosawa
 <akiyks@...il.com>
Subject: Re: [PATCH 03/12] docs: kdoc: backslashectomy in kdoc_parser

Mauro Carvalho Chehab <mchehab+huawei@...nel.org> writes:

> In time: I mean *possible* POSIX violations. 
>
> I very much prefer more backslashs than needed or use re.escape()
> than to read thoughtfully POSIX and Python-specific specific rules.
>
> Python, in particular, is not very reliable between versions - each
> new version comes with a set of incompatible changes.

People like to complain about that ... but the LWN site code has been in
Python since 2002, and with the notable exception of the Python 3
transition, it has been really painless.

FWIW, the 3.13 re module will warn if it sees a construction like "[[]"
- evidently there is a possible future change that might make "[[" mean
something special and new.  So I avoided that combination.

> In summary, if you agree with always escape brackets, curly brackets and
> parenthesis inside brackets on kernel-doc, we should be free of not
> opened/not closed "symbols" with is an annoyance at least for me, and
> we should be freed of possible POSIX issues and undefined behavior(*).

It shall be a mighty struggle, but I think I can find a way to live with
that... :)

Thanks,

jon

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ