This is interesting, it's not as nice as native syntax support could have been but a decorator like this is also pretty nice. I think I would bikeshed this so the decorator was the full dot separated signature, e.g.
@curry_helper('insert.into') def insert(x: Any, y: list): def y.append(x) but other than that, I think this is probably the closest thing I'll get out of this, so thanks. _______________________________________________ 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/NBMWJ54XSI6JQESR7ZXUR4WFYW7GNHU4/ Code of Conduct: http://python.org/psf/codeofconduct/