qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 05/11] qapi/introspect.py: add preliminary type hint annot


From: John Snow
Subject: Re: [PATCH v2 05/11] qapi/introspect.py: add preliminary type hint annotations
Date: Wed, 16 Dec 2020 20:35:04 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 12/16/20 2:51 AM, Markus Armbruster wrote:

Is it too late to delay the introduction of type hints until after the
data structure cleanups?

If yes, I have to spend more time replying below.


No, I re-ordered the series again to delay typing until the end, or close to it.

Though I abandoned plans to slacken List[...] inputs to Iterable[...] or Sequence[...] like I had mentioned; I think it could still be done, but it's fine to just use List[...] for the inputs for now. We can worry about optimizing type flexibility later, I think.

Let's just get the dog hunting at all first.

--js




reply via email to

[Prev in Thread] Current Thread [Next in Thread]