Re: [PATCH v2 00/11] qapi: static typing conversion, pt2

2020-12-15 Thread John Snow
On 11/4/20 4:51 AM, Marc-André Lureau wrote: Hi On Mon, Nov 2, 2020 at 7:41 PM John Snow > wrote: On 10/26/20 3:42 PM, John Snow wrote: > Hi, this series adds static type hints to the QAPI module. > This is part two, and covers introspect.py. >

introspect.py output representation (was: [PATCH v2 00/11] qapi: static typing conversion, pt2)

2020-11-16 Thread Markus Armbruster
Warning: losely related brain dump ahead. introspect.py's purpose is providing query-qmp-schema with the data it needs to built its response, which is a JSON object conforming to ['SchemaInfo']. Stupidest solution that could possibly work: have this module generate a C string holding the (JSON te

Re: [PATCH v2 00/11] qapi: static typing conversion, pt2

2020-11-04 Thread Marc-André Lureau
Hi On Mon, Nov 2, 2020 at 7:41 PM John Snow wrote: > On 10/26/20 3:42 PM, John Snow wrote: > > Hi, this series adds static type hints to the QAPI module. > > This is part two, and covers introspect.py. > > > > Part 2: https://gitlab.com/jsnow/qemu/-/tree/python-qapi-cleanup-pt2 > > Everything: h

Re: [PATCH v2 00/11] qapi: static typing conversion, pt2

2020-11-02 Thread John Snow
On 10/26/20 3:42 PM, John Snow wrote: Hi, this series adds static type hints to the QAPI module. This is part two, and covers introspect.py. Part 2: https://gitlab.com/jsnow/qemu/-/tree/python-qapi-cleanup-pt2 Everything: https://gitlab.com/jsnow/qemu/-/tree/python-qapi-cleanup-pt6 - Requires P

[PATCH v2 00/11] qapi: static typing conversion, pt2

2020-10-26 Thread John Snow
Hi, this series adds static type hints to the QAPI module. This is part two, and covers introspect.py. Part 2: https://gitlab.com/jsnow/qemu/-/tree/python-qapi-cleanup-pt2 Everything: https://gitlab.com/jsnow/qemu/-/tree/python-qapi-cleanup-pt6 - Requires Python 3.6+ - Requires mypy 0.770 or newe