On 17.12.2017 22:20, Serhiy Storchaka wrote:
Currently repr of doesn't contain much of information besides that it
is a lambda.
>>> lambda x: x**2
at 0x7f3479b74488>
All lambdas have the same repr, different only by unreadable
hexadecimal address.
What if include the signature and the
On 12/17/2017 2:20 PM, Serhiy Storchaka wrote:
Currently repr of doesn't contain much of information besides that it is
a lambda.
>>> lambda x: x**2
at 0x7f3479b74488>
All lambdas have the same repr, different only by unreadable hexadecimal
address.
Having the same pseudo-name is what
Currently repr of doesn't contain much of information besides that it is
a lambda.
>>> lambda x: x**2
at 0x7f3479b74488>
All lambdas have the same repr, different only by unreadable hexadecimal
address.
What if include the signature and the expression of the lambda in its repr?
>>> lambda