[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/11] qapi/introspect.py: Unify return type of _make_tree
From: |
Cleber Rosa |
Subject: |
Re: [PATCH v2 07/11] qapi/introspect.py: Unify return type of _make_tree() |
Date: |
Sat, 7 Nov 2020 00:08:16 -0500 |
On Mon, Oct 26, 2020 at 03:42:47PM -0400, John Snow wrote:
> Returning two different types conditionally can be complicated to
> type. Let's always return a tuple for consistency.
This seems like a standalone change.
> Prohibit the use of
> annotations with dict-values in this circumstance. It can be implemented
> later if and when the need for it arises.
And this seems like another change.
- Cleber.
signature.asc
Description: PGP signature
- Re: [PATCH v2 07/11] qapi/introspect.py: Unify return type of _make_tree(),
Cleber Rosa <=