GeezerVison is showing github.com — bpo-41987: Fix unnecessary evaluation of return type forward declaratons in singledispatch. by mental32 · Pull Request #23216 · python/cpython
Conversation
mental32
commented
Nov 10, 2020
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
I know that interest was expressed in the bpo thread about finding the root cause of this issue sadly I have not been able to figure that out yet, instead I offer a patch 😅
https://bugs.python.org/issue41987
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m also still very interested in the root cause.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mental32
commented
Nov 11, 2020
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
@gvanrossum thank you for the review!
I've applied and committed the suggested changes, and will be investigating the regression further when I can.
At the moment I am only comparing diffs of tag 3.8 and tag 3.9 for file /Lib/typing.py since I suspect the regression will be visible there. If I can't eyeball it I'll start bisecting commits from 3.8 to master's head testing for reproducibility.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I think the reason is that ForwardRef._evaluate() did two evaluations or the recursive check failed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
rhettinger
Awaiting requested review from rhettinger
rhettinger is a code owner
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.