[issue34856] Make the repr of lambda containing the signature and body expression.

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Right. Like printing an ascii text version of the Mandelbrot set in one 20-line lambda + call expression statement. Let's truncate to, say, 40 chars. This should cover a large majority of lambda expressions. -- nosy: +terry.reedy

[issue34856] Make the repr of lambda containing the signature and body expression.

2018-09-30 Thread Guido van Rossum
Guido van Rossum added the comment: OTOH the current repr is bounded. Some people write very long lambdas. On Sun, Sep 30, 2018 at 11:31 AM Serhiy Storchaka wrote: > > Change by Serhiy Storchaka : > > > -- > keywords: +patch > pull_requests: +9039 > stage: -> patch review > >

[issue34856] Make the repr of lambda containing the signature and body expression.

2018-09-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9039 stage: -> patch review ___ Python tracker ___ ___

[issue34856] Make the repr of lambda containing the signature and body expression.

2018-09-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : >>> f = lambda x, y=1: x+y >>> f Currently it is less informative: " at 0x7f437cd27890>". -- components: Interpreter Core messages: 326738 nosy: gvanrossum, serhiy.storchaka priority: normal severity: normal status: open title: Make the repr of