New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

>>> f = lambda x, y=1: x+y
>>> f
<lambda x, y=1: x + y at 0x7f437cd27890>

Currently it is less informative: "<function <lambda> at 0x7f437cd27890>".

----------
components: Interpreter Core
messages: 326738
nosy: gvanrossum, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Make the repr of lambda containing the signature and body expression.
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34856>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to