Skip to content

gh-158639: Fix specalisation fail for subclassed builtin types - #158640

Open
johng wants to merge 4 commits into
python:mainfrom
johng:gh-158639
Open

johng wants to merge 4 commits into
python:mainfrom
johng:gh-158639

Conversation

@johng

@johng johng commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Oct 3, 2026
Do TypeCheck instead of IsType in the guard
@johng
johng marked this pull request as ready for review October 3, 2026 08:44
@johng
johng requested a review from markshannon as a code owner October 3, 2026 08:44
@johng

johng commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Looks like we can make a similar change in tier 2 resulting in various guards becoming noops for some small gains there (if this is within scope)

@johng

johng commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

(sorry pushing tests on the first commit has mis-tagged this I believe)

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

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant