Mark Byrne

Results 61 comments of Mark Byrne

Thank you for for the report @fmigneault! I can reproduce using a simplified example which is possibly the same root-cause: ```python class Tomato(dict): ... {Tomato: 1} ```

I see how this could be a false positive. From [PEP3119](https://peps.python.org/pep-3119/): _Unlike Java’s abstract methods or C++’s pure abstract methods, abstract methods as defined here may have an implementation. This...

Good point @DanielNoord - I thought one of the existing unpacking checkers could cover it but perhaps not. Perhaps `unbalanced-dictionary-unpacking`?

Thanks for the report. I can't reproduce this one myself: ```python (venv310) Marks-MacBook-Air-2:programming markbyrne$ pip freeze |grep pylint pylint==2.15.0 pylint-quotes==0.2.3 ``` ```python (venv310) Marks-MacBook-Air-2:programming markbyrne$ pylint --version pylint 2.15.0 astroid...

Thanks for the examples. @Wayonb you're right - something between 2.14.1 & 2.15.0 has led to this false positive. Note it happens only for Python versions below 3.10 because of...

It could be worth taking a look at [this change](https://github.com/PyCQA/pylint/pull/7012). If I revert that one locally, I can't reproduce using the following example, provided in the comment above example from...

Thank you @yilei. I can reproduce on the latest version of Pylint/astroid & also see no false positive on Pylint==2.14.5: ```python pylint 2.16.0-dev astroid 2.12.10 Python 3.10.4 ```

Hey all. It looks like the example provided is not a false positive since adding it to the functional tests yields a successful run. Perhaps the Pylint version which the...