meson/mesonbuild/interpreterbase
Eli Schwartz c1aeb2f7e4
typed_kwargs: support dict/list as "new since" types
Given a kwarg value that is itself a dict/list, we would only check if
the since_values was present within that container. If the since_values
is itself the dict or list type, then we aren't looking for recursive
structures, we just want to know when the function began to accept that
type.

This is relevant in cases where a function accepted a dict, and at one
point began accepting a list (of strings in the form 'key=value'), or
vice versa.
2022-06-17 14:33:01 -04:00
..
__init__.py FeatureNew: add mypy type annotations for subproject arg 2022-02-14 20:40:41 -05:00
_unholder.py move various imports into TYPE_CHECKING blocks for neatness 2022-05-23 16:44:08 -04:00
baseobjects.py typing: use forward reference for types defined later in file 2022-05-23 16:44:07 -04:00
decorators.py typed_kwargs: support dict/list as "new since" types 2022-06-17 14:33:01 -04:00
disabler.py move a bunch of imports into TYPE_CHECKING blocks 2022-03-07 19:09:50 -05:00
exceptions.py interpreter: Split exception calsses from interpreterbase.py 2021-06-11 10:42:18 +02:00
helpers.py Remove helpers.check_stringlist() 2021-09-25 12:44:11 +02:00
interpreterbase.py Add support for multiline f-strings 2022-05-01 12:47:37 -04:00
operator.py Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00