Skip to content

Fix issue #9296 (calling register on KeysView subclass causes false positive error) - #9348

Merged
JelleZijlstra merged 5 commits into
python:mainfrom
jab:bugfix-issue-9296
Dec 10, 2022
Merged

Fix issue #9296 (calling register on KeysView subclass causes false positive error)#9348
JelleZijlstra merged 5 commits into
python:mainfrom
jab:bugfix-issue-9296

Conversation

@jab

@jabjab commented Dec 10, 2022

Copy link
Copy Markdown
Contributor

As per discussion in #9296, this PR reverts the commits in #8977 and #9058 that resulted in false positive errors when e.g. calling register() on a KeysView subclass, until a non-buggy implementation is landed. This also adds a regression test.

@jab
jabforce-pushed the bugfix-issue-9296 branch 2 times, most recently from 054972b to 5a3169cCompareDecember 10, 2022 17:17
@github-actions

This comment has been minimized.

Comment threadstdlib/builtins.pyi Outdated
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jab@JelleZijlstra