[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL v2 12/17] qapi: Rewrite parsing of doc comment section symbols
From: |
Markus Armbruster |
Subject: |
Re: [PULL v2 12/17] qapi: Rewrite parsing of doc comment section symbols and tags |
Date: |
Tue, 16 May 2023 15:59:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Igor Mammedov <imammedo@redhat.com> writes:
> On Wed, 10 May 2023 10:12:22 +0200
> Markus Armbruster <armbru@redhat.com> wrote:
>
>> To recognize a line starting with a section symbol and or tag, we
>> first split it at the first space, then examine the part left of the
>> space. We can just as well examine the unsplit line, so do that.
>
> this makes build fail on RHEL8.9 (Python 3.6.8)
> with:
> configure --target-list=x86_64-softmmu --disable-docs
> make -j32
> ...
> /usr/bin/python3 /builds/qemu/scripts/qapi-gen.py -o qapi -b
> ../../builds/qemu/qapi/qapi-schema.json
[...]
> File "/builds/qemu/scripts/qapi/parser.py", line 563, in QAPIDoc
>
> def _match_at_name_colon(string: str) -> re.Match:
>
> AttributeError: module 're' has no attribute 'Match'
Working on it. First attempt "[PATCH] qapi/parser: Fix type hints"
failed.
Thanks!
- [PULL v2 00/17] QAPI patches patches for 2023-05-09, Markus Armbruster, 2023/05/10
- [PULL v2 12/17] qapi: Rewrite parsing of doc comment section symbols and tags, Markus Armbruster, 2023/05/10
- [PULL v2 14/17] qapi: Section parameter @indent is no longer used, drop, Markus Armbruster, 2023/05/10
- [PULL v2 13/17] qapi: Relax doc string @name: description indentation rules, Markus Armbruster, 2023/05/10
- Re: [PULL v2 00/17] QAPI patches patches for 2023-05-09, Richard Henderson, 2023/05/10
- Re: [PULL v2 00/17] QAPI patches patches for 2023-05-09, Richard Henderson, 2023/05/10