Skip to content

Conversation

@tungol
Copy link
Contributor

@tungol tungol commented Oct 24, 2024

This is similar to #12873

BaseListProxy doesn't inherit from MutableSequence, and MutableSequence.register(BaseListProxy) doesn't happen either.

It's not missing any of the abstract methods, so in theory it could be registered. It is missing the mix-in methods __iter__ and __iadd__. It's also missing clear and copy, but those have been added to to the 3.13 branch of cpython.

Let's see what this looks like.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

@tungol
Copy link
Contributor Author

tungol commented Nov 6, 2024

This is now fixed in cpython for 3.12 and up. It probably doesn't make sense to branch for the sake of 3.8 to 3.11.

@tungol tungol closed this Nov 6, 2024
@tungol tungol deleted the multiprocessing branch November 7, 2024 21:28
Sign up for free to 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