gh-76991: Allow accessing the ags_gen and agt_gen attrs of async generators#11166
gh-76991: Allow accessing the ags_gen and agt_gen attrs of async generators#11166ZackerySpytz wants to merge 3 commits intopython:mainfrom
Conversation
asvetlov
left a comment
There was a problem hiding this comment.
Looks very good, thanks!
Would you add a docs update to reflect new fields?
|
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 |
|
Please don't merge this. I'm not sure i want them to be exposed. |
|
@1st1 thank you for sharing your worries. |
|
@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! |
Another way of fixing the issue described in bpo-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 |
|
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.
|
I fixed the merge conflicts, but the tests are failing all over the place. It looks to me the assumptions in the test in 6024d01 from 2018 won't hold in 2023. |
|
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. |
https://bugs.python.org/issue32810