Jakub Kicinski <kuba@xxxxxxxxxx> writes: > On Sat, 14 Jun 2025 20:56:09 +0200 Mauro Carvalho Chehab wrote: >> 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