2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/scripts/lib/kdoc
Jonathan Corbet 40020fe8e3 docs: kdoc: emit a warning for ancient versions of Python
Versions of Python prior to 3.7 do not guarantee to remember the insertion
order of dicts; since kernel-doc depends on that guarantee, running with
such older versions could result in output with reordered sections.

Python 3.9 is the minimum for the kernel as a whole, so this should not be
a problem, but put in a warning just in case somebody tries to use
something older.

Suggested-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2025-07-15 13:43:30 -06:00
..
kdoc_files.py docs: kdoc: simplify the output-item passing 2025-07-02 14:14:31 -06:00
kdoc_item.py docs: kdoc: directly access the always-there KdocItem fields 2025-07-15 13:43:30 -06:00
kdoc_output.py docs: kdoc: directly access the always-there KdocItem fields 2025-07-15 13:43:30 -06:00
kdoc_parser.py docs: kdoc: emit a warning for ancient versions of Python 2025-07-15 13:43:30 -06:00
kdoc_re.py docs: kdoc: micro-optimize KernRe 2025-06-30 09:56:01 -06:00