New submission from Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32468>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to