Re: [PATCH v4 41/46] qapi/introspect.py: create a typed 'Node' data structure

2020-10-01 Thread John Snow
On 9/30/20 3:52 PM, Eduardo Habkost wrote: On Wed, Sep 30, 2020 at 02:58:04PM -0400, John Snow wrote: On 9/30/20 2:39 PM, Eduardo Habkost wrote: On Wed, Sep 30, 2020 at 12:31:45AM -0400, John Snow wrote: This replaces _make_tree with Node.__init__(), effectively. By creating it as a generic co

Re: [PATCH v4 41/46] qapi/introspect.py: create a typed 'Node' data structure

2020-09-30 Thread Eduardo Habkost
On Wed, Sep 30, 2020 at 02:58:04PM -0400, John Snow wrote: > On 9/30/20 2:39 PM, Eduardo Habkost wrote: > > On Wed, Sep 30, 2020 at 12:31:45AM -0400, John Snow wrote: > > > This replaces _make_tree with Node.__init__(), effectively. By creating > > > it as a generic container, we can more accuratel

Re: [PATCH v4 41/46] qapi/introspect.py: create a typed 'Node' data structure

2020-09-30 Thread John Snow
On 9/30/20 2:39 PM, Eduardo Habkost wrote: On Wed, Sep 30, 2020 at 12:31:45AM -0400, John Snow wrote: This replaces _make_tree with Node.__init__(), effectively. By creating it as a generic container, we can more accurately describe the exact nature of this particular Node. Signed-off-by: John

Re: [PATCH v4 41/46] qapi/introspect.py: create a typed 'Node' data structure

2020-09-30 Thread Eduardo Habkost
On Wed, Sep 30, 2020 at 12:31:45AM -0400, John Snow wrote: > This replaces _make_tree with Node.__init__(), effectively. By creating > it as a generic container, we can more accurately describe the exact > nature of this particular Node. > > Signed-off-by: John Snow > --- > scripts/qapi/introspe

[PATCH v4 41/46] qapi/introspect.py: create a typed 'Node' data structure

2020-09-29 Thread John Snow
This replaces _make_tree with Node.__init__(), effectively. By creating it as a generic container, we can more accurately describe the exact nature of this particular Node. Signed-off-by: John Snow --- scripts/qapi/introspect.py | 77 +++--- 1 file changed, 38 ins