8000 ENH: frompyfunc set user specified identity attribute · Issue #8245 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: frompyfunc set user specified identity attribute #8245

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

Closed
mattharrigan opened this issue Nov 6, 2016 · 0 comments · Fixed by #8255
Closed

ENH: frompyfunc set user specified identity attribute #8245

mattharrigan opened this issue Nov 6, 2016 · 0 comments · Fixed by #8255

Comments

@mattharrigan
Copy link
Contributor
mattharrigan commented Nov 6, 2016

frompyfunc does not allow the ufunc's identity to be specified, and that attribute of the returned object is not writable, so it is always None. Please add a kwarg to set the function's identity. This is especially valuable if the ufunc will be used with the reduce family of methods. Thank you.

It looks straightforward here. If this sounds reasonable I'll try and do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0