Re: [PATCH v4 38/46] qapi/introspect.py: add _gen_features helper

2020-09-30 Thread Eduardo Habkost
On Wed, Sep 30, 2020 at 12:31:42AM -0400, John Snow wrote: > _make_tree might receive a dict or some other type. Adding features > information should arguably be performed by the caller at such a time > when we know the type of the object and don't have to re-interrogate it. > > Signed-off-by:

[PATCH v4 38/46] qapi/introspect.py: add _gen_features helper

2020-09-29 Thread John Snow
_make_tree might receive a dict or some other type. Adding features information should arguably be performed by the caller at such a time when we know the type of the object and don't have to re-interrogate it. Signed-off-by: John Snow --- scripts/qapi/introspect.py | 19 --- 1