Functions come with these attributes, but the "partial" class doesn't, even though it's meant to mimic functions. This is counter-intuitive and can sometimes cause problems, like in NumPy issue #23461 (https://github.com/numpy/numpy/issues/23461). Adding these attributes should make it much easier to use "partial" in the future.
Thanks for your consideration. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/2FZ3N6M6RFOW32MSUCVNEWJ6OBSPV3DH/ Code of Conduct: http://python.org/psf/codeofconduct/