[New-bugs-announce] [issue32468] Frame repr should be more helpful

Antoine Pitrou report at bugs.python.org
Sun Dec 31 14:14:55 EST 2017


New submission from Antoine Pitrou <pitrou at free.fr>:

Currently a frame's repr looks like this:

>>> f
<frame object at 0x7f7b8a8ecb08>

It would be more helpful if it displayed something like:

>>> f
<frame object at 0x7f7b8a8ecb08, file "/home/antoine/cpython/default/Lib/logging/__init__.py", line 123, code getLogger>

----------
components: Interpreter Core
messages: 309298
nosy: pitrou, serhiy.storchaka, yselivanov
priority: normal
severity: normal
status: open
title: Frame repr should be more helpful
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32468>
_______________________________________


More information about the New-bugs-announce mailing list