[issue23832] pdb's `longlist` shows only decorator if that one contains a lambda

2020-09-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue23832] pdb's `longlist` shows only decorator if that one contains a lambda

2020-09-15 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23832] pdb's `longlist` shows only decorator if that one contains a lambda

2020-08-22 Thread Irit Katriel
Irit Katriel added the comment: pdb uses inspect.findsource for this, where this problem was fixed in issue 1764286. I believe this ticket can be closed. -- ___ Python tracker

[issue23832] pdb's `longlist` shows only decorator if that one contains a lambda

2020-08-21 Thread Irit Katriel
Irit Katriel added the comment: I think this has been fixed by now, because I don't see the problem in Python 3.10: python.bat -mpdb tmp1.py Running Release|Win32 interpreter... > c:\users\user\src\cpython\tmp1.py(2)() -> def foo(x, y=None): (Pdb) c Traceback (most recent call last): File

[issue23832] pdb's `longlist` shows only decorator if that one contains a lambda

2015-03-31 Thread Gerrit Holl
New submission from Gerrit Holl: When a decorater contains a `lambda` declaration, using the pdb command `longlist` will show only the definition of the decorator. The definition of the function itself is not shown: cat mini.py #!/usr/bin/python3.4 def foo(x, y=None): return x