Skip to content

[red-knot] Remove use of str from benchmarks#12392

Closed
AlexWaygood wants to merge 1 commit intomainfrom
alex/redknot-benchmarks
Closed

[red-knot] Remove use of str from benchmarks#12392
AlexWaygood wants to merge 1 commit intomainfrom
alex/redknot-benchmarks

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

#12390 adds support for resolving types to classes in typeshed's builtins.pyi stub file. This causes redknot to crash when attempting to execute this benchmark, as the str definition in typeshed is too complex for us to handle right now. object is a simpler type definition which we can resolve symbols to without crashing.

#12390 adds support for resolving types to classes in typeshed's `builtins.pyi` stub file. This causes redknot to crash when attempting to execute this benchmark, as the `str` definition in typeshed is too complex for us to handle right now. `object` is a simpler type definition which we can resolve symbols to without crashing.
@carljm
Copy link
Copy Markdown
Contributor

carljm commented Jul 18, 2024

Oops -- can we go with #12392 instead since the next PR is already rebased on it? Sorry!

@carljm carljm closed this Jul 18, 2024
@AlexWaygood AlexWaygood deleted the alex/redknot-benchmarks branch July 18, 2024 20:28
@github-actions
Copy link
Copy Markdown
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

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

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants