Message327181
People write also long strings, lists, dicts, but they are not truncated. In contrary to the above types which usually are created programmically and can be very large, lambdas are written manually and rarely exceed the size of a single line. We should discourage writing long lambdas. Local named functions are more appropriate for this. Although some people can use very long function names...
Actually the repr of lambda can be very long now: <function VeryLongClassName.very_long_method_name.<locals>.<lambda> at 0x7fa2d9e04338>. |
|
Date |
User |
Action |
Args |
2018-10-05 19:57:06 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, terry.reedy |
2018-10-05 19:57:06 | serhiy.storchaka | set | messageid: <1538769426.08.0.545547206417.issue34856@psf.upfronthosting.co.za> |
2018-10-05 19:57:06 | serhiy.storchaka | link | issue34856 messages |
2018-10-05 19:57:06 | serhiy.storchaka | create | |
|