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
Make func_name writable #40704
Comments
This was pretty easy: just copypasteandchange the code Adds some simple tests. I've corrected the one place in the docs that seems to |
Logged In: YES Looks good. Less important in the current context, but for |
Logged In: YES Should we require that the new function name is a valid There should be \versionchanged in the documentation. |
Logged In: YES For instance, allowing a unicode string as a function name |
Logged In: YES
We could, but I don't really see it being worth the effort
Don't see why not.
Again, don't see why not.
Yes. In fact the documentation of function attributes could I'll note that all the possibilities you mention are Agree with Anthony that we don't want to allow unicode. (While we're at it, I see that func_repr takes into account |
Logged In: YES These decisions are all fine with me. As for anonymous functions: It appears that compile.c |
Logged In: YES OK, take 2. More documentation, removes the "if (func_name == |
Logged In: YES I notice an inconsistency in the documentation: all Apart from that, the patch looks fine. |
Logged In: YES Thanks for the review; I've accomodated both your points. Checked in as: Doc/lib/libstdtypes.tex revision 1.163 |
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: