diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-10-06 05:12:30 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-01-16 15:30:12 -0500 |
commit | 2d0c9ce5f270306610c502859ebd46fd92162fb1 (patch) | |
tree | 0c21acfcc5c2dbbf6c59c5aeaab17c45c4e8d6e0 /mesonbuild/compilers/asm.py | |
parent | 9b999ddc874cfba34c3d1c67f75aba037389e65f (diff) | |
download | meson-2d0c9ce5f270306610c502859ebd46fd92162fb1.zip meson-2d0c9ce5f270306610c502859ebd46fd92162fb1.tar.gz meson-2d0c9ce5f270306610c502859ebd46fd92162fb1.tar.bz2 |
properly type utils/core.py and add it to mypy
EnvironmentVariables was always broken, it used MutableMapping because
everyone <3 abstract interfaces, especially when they are broken and
don't actually do what you want.
This needs a dict interface, exposing `.copy()`. We either use a dict or
os._Environ, and the latter also supports that.
Also fix a broken import, and the fallout from forgetting to update the
signature of self.envvars in commit b926374205bd761085031755c87152d08bc10e9d.
Diffstat (limited to 'mesonbuild/compilers/asm.py')
0 files changed, 0 insertions, 0 deletions