Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-76991: Allow accessing the ags_gen and agt_gen attrs of async generators#11166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
asvetlov left a comment
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.
Looks very good, thanks!
Would you add a docs update to reflect new fields?
bedevere-bot commentedDec 15, 2018
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
1st1 commentedDec 15, 2018
Please don't merge this. I'm not sure i want them to be exposed. |
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.
We need to consider this carefully. Exposing these fields pins the current implementation and might prevent us from evolving it. It's also unclear if it's possible to implement this in PyPy et al
asvetlov commentedDec 15, 2018
@1st1 thank you for sharing your worries. |
csabella commentedJan 12, 2020
@1st1, just wondering if there is any update for this idea? Should the PR be closed so that the discussion can happen on the bug tracker first? Thanks! |
vxgmichel commentedApr 15, 2020
Another way of fixing the issue described inbpo-32810 without adding extra field names is to expose
Retrieving the stack can then be implemented by simply walking up the chain of coroutines using |
iritkatriel commentedApr 11, 2022
https://bugs.python.org/issue32810 is closed. What is the status of this PR? |
This comment was marked as outdated.
This comment was marked as outdated.
erlend-aasland commentedJan 5, 2024
I fixed the merge conflicts, but the tests are failing all over the place. It looks to me the assumptions in the test in6024d01 from 2018 won't hold in 2023. |
gvanrossum commentedJan 10, 2024
I am just closing this. In 2018@1st1 didn't like the idea of exposing these fields. Here we are 6 years later and the only reason we're back looking at this is that someone decided to audit the OP's PRs. |
Uh oh!
There was an error while loading.Please reload this page.
https://bugs.python.org/issue32810