Skip to content

PyMappingProxy and PyWeakrefReference: allow subclasses during type check#5883

Merged
davidhewitt merged 1 commit intoPyO3:mainfrom
Tpt:tpt/mapping-proxy
Mar 17, 2026
Merged

PyMappingProxy and PyWeakrefReference: allow subclasses during type check#5883
davidhewitt merged 1 commit intoPyO3:mainfrom
Tpt:tpt/mapping-proxy

Conversation

@Tpt
Copy link
Contributor

@Tpt Tpt commented Mar 16, 2026

This is the behavior for the other type and already the behavior of PyWeakrefReference in abi3 or PyPy/GraalPy

@Tpt Tpt changed the title PyMappingProxy and PyWeakrefReference: allow sub-classes during type check PyMappingProxy and PyWeakrefReference: allow subclasses during type check Mar 16, 2026
…heck

This is the behavior for the other type and already the behavior of PyWeakrefReference in abi3 or PyPy/GraalPy
@Tpt Tpt force-pushed the tpt/mapping-proxy branch from 3c01cbb to d84d658 Compare March 16, 2026 09:10
@Tpt Tpt marked this pull request as ready for review March 16, 2026 09:25
@davidhewitt davidhewitt added this pull request to the merge queue Mar 17, 2026
Merged via the queue into PyO3:main with commit c6c9bea Mar 17, 2026
45 checks passed
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.

3 participants