In the comparison methods of Target. There are several problems with the old implementation: 1. It's not idiomatic 2. It can match on things that It shouldn't (like a Compiler, which has a `get_id() -> str` method, but not one that we should compare with Targets 3. It confuses mypy, which doesn't handle hasattrpull/9329/head
parent
d7bb0acbe3
commit
d25349e8cf
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue