|
From: | John Snow |
Subject: | Re: [PATCH v3 07/16] qapi/expr.py: Add casts in a few select cases |
Date: | Thu, 25 Feb 2021 17:10:32 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/25/21 7:07 AM, Markus Armbruster wrote:
Unfortunately, the "check" in check_exprs falls off almost immediately.What do you mean by "falls off"?
mypy loses the constraint in its static analysis. i.e. all of the work we do in expr.py is almost entirely opaque to mypy.
[Prev in Thread] | Current Thread | [Next in Thread] |