GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — gh-104050: Argument Clinic: Annotate output_templates() by erlend-aasland · Pull Request #106732 · python/cpython Conversation
|
|
The mypy error might indicate we have the wrong annotation for Edit: no, don't think that's the issue actually |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for 6891e14! The last error puzzles me, though, and I have no bandwidth for this today; if you find a solution, feel free to land this :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yeah, I can't immediately tell what the issue is here. I'm investigating :) Mypy doesn't have a great understanding of multiple inheritance, so this may be a false positive. But not sure. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Aaah, perhaps it is line 801 and 802: assert isinstance(parameters[0].converter, self_converter) del parameters[0] My guess: mypy uses only the information provided in line 801, but is not smart enough to see that line 802 invalidates that assert, so it continues to think |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Bingo! I'll push a fix. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Does f9cb537 look good to you? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Neat! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.