<div dir="ltr"><br><br><div class="gmail_quote">On Wed, 6 May 2015 at 16:51 Steven D'Aprano <<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I think that there are some questions that would need to be answered.<br>
For instance, given some composition:<br>
<br>
f = math.sin @ (lambda x: x**2)<br>
<br>
what would f.__name__ return? What about str(f)?<br></blockquote><div><br></div><div>Lambdas return '<lambda>' so maybe something like '<composed>'?<br></div><div>Then str(f) would be '<function <composed> at 0xffffffffffff>'.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote></div></div>