-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a gi_code attr to generators #43254
Comments
In the test suite for one of my packages, I've used I'd like to add a gi_code attribute to generators that >>> def f():
... yield 5
...
>>> g = f()
>>> g.gi_code is f.func_code
True
>>> The attached patch (against r45570) implements the |
Logged In: YES I've updated the patch; it's now against SVN r45808. |
Logged In: YES Phillip, do you have an opinion on this one? |
Logged In: YES In addition to updating the main patch to r46040, I've Any thoughts on getting this into 2.5a3? |
Guido, do you have an opinion? Seems like a nonproblematic and probably |
I noticed some whitespace issues in the patch, but apart from that I |
Reformatted the patch to use tabs and committed as r60324. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: