linux/tools/lib/python
Alison Schofield 02299dcd20 docs: python: abi_regex: catch the right exception for a bad regex
While validating recent CXL ABI documentation updates with
get_abi.py, the 'undefined' mode was found to abort instead of
reporting undocumented ABI entries.

Older Python releases raise re.error, while newer releases expose
re.PatternError. Catching the compatible re.error exception handles
both cases.

Use re.error so the scan continues and reports the remaining
results.

Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <9f6fa7a9aa6ba9a26b484b911976713356b3fd44.1786139549.git.alison.schofield@intel.com>
2026-08-11 10:36:28 -06:00
..
abi docs: python: abi_regex: catch the right exception for a bad regex 2026-08-11 10:36:28 -06:00
feat docs: parse_features: make documentation more consistent 2026-01-23 11:37:39 -07:00
kdoc docs: xforms_lists: support DEFINE_IDTENTRY_IRQ() 2026-08-03 12:57:56 -06:00
__init__.py docs: bring some order to our Python module hierarchy 2025-11-18 09:22:40 -07:00
jobserver.py jobserver: Fix typo in docstring 2026-03-17 08:43:39 -06:00
unittest_helper.py tools: unittest_helper: add a quiet mode 2026-03-30 10:54:13 -06:00