Thread (29 messages) 29 messages, 4 authors, 2025-06-20

Re: [PATCH v4 12/14] MAINTAINERS: add maintainers for netlink_yml_parser.py

From: Jonathan Corbet <corbet@lwn.net>
Date: 2025-06-19 20:07:00
Also in: linux-doc, linux-kernel-mentees, lkml

Jakub Kicinski [off-list ref] writes:
On Sat, 14 Jun 2025 20:56:09 +0200 Mauro Carvalho Chehab wrote:
quoted
I'm more interested on having a single place where python libraries
could be placed.
Me too, especially for selftests. But it's not clear to me that
scripts/ is the right location. I thought purely user space code
should live in tools/ and bulk of YNL is for user space.
I've been out wandering the woods and canyons with no connectivity for a
bit, so missed this whole discussion, sorry.

Mauro and I had talked about the proper home for Python libraries when
he reworked kernel-doc; we ended up with them under scripts/, which I
didn't find entirely pleasing.  If you were to ask me today, I'd say
they should be under lib/python, but tomorrow I might say something
else...

In truth, I don't think it matters much, but I *do* think we should have
a single location from which to import kernel-specific Python code.
Spreading it throughout the tree just isn't going to lead to joy.

Thanks,

jon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help