This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients gvanrossum, serhiy.storchaka, terry.reedy
Date 2018-10-05.19:57:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538769426.08.0.545547206417.issue34856@psf.upfronthosting.co.za>
In-reply-to
Content
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>.
History
Date User Action Args
2018-10-05 19:57:06serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, terry.reedy
2018-10-05 19:57:06serhiy.storchakasetmessageid: <1538769426.08.0.545547206417.issue34856@psf.upfronthosting.co.za>
2018-10-05 19:57:06serhiy.storchakalinkissue34856 messages
2018-10-05 19:57:06serhiy.storchakacreate