Re: [PATCH net v3 3/3] selftests: net: hsr: add shared-mutation regression test

Jakub Kicinski <[email protected]>
Newsgroups org.kernel.vger.linux-kselftest,org.kernel.vger.netdev
Message-ID <[email protected]>
On Sat,  8 Aug 2026 02:45:24 +0200 Xin Xie wrote:
> +	nsx python3 /dev/stdin <<'PYF1'
> +import socket, select, sys, time

It's a "no" on embedded Python in bash scripts.
Where do people get that from? Did AI generate it or are there projects
in which this is common practice?

Please write the whole test in Python (see .../net/lib/py/ helpers),
or move the python code out to its own scrip under TEST_FILES
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.