diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-09-24 13:59:48 -0700 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-09-30 21:01:38 +0200 |
commit | 7e43432a0c1a2a951fa10bf2fd6930db9d4c4fcc (patch) | |
tree | aca243faf64fa151318e0fcc971221d4c400c6a7 /mesonbuild/interpreter/interpreter.py | |
parent | d2fa6d50809e6a5955999152f43a461595c6bc4c (diff) | |
download | meson-7e43432a0c1a2a951fa10bf2fd6930db9d4c4fcc.zip meson-7e43432a0c1a2a951fa10bf2fd6930db9d4c4fcc.tar.gz meson-7e43432a0c1a2a951fa10bf2fd6930db9d4c4fcc.tar.bz2 |
interpreterbase/decorators: KwargIfno validator must take an relaxed type
I've used any because it needs to be infinitely recursive, something
that we simply can't model. But basically until it goes into validator
we have no way of knowing what's going on, since one can write code
like:
```python
KwargInfo[str]('arg', object, validator=_some_very_complex_logic_to_get_specific_string)
```
As such, we can't assume that validator is receiving a type _T, it could
be anything.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
0 files changed, 0 insertions, 0 deletions