[New-bugs-announce] [issue23724] Stack Trace should show argument value passed into a function, not just the keyword

Umank Behera report at bugs.python.org
Fri Mar 20 19:50:08 CET 2015


New submission from Umank Behera:

Code:
def main(foo):
    raise Exception("Some Exception")

bar = 1
main(bar)
----

On execution:
Traceback (most recent call last):
  File "st.py", line 5, in <module>
    main(bar)
  File "st.py", line 2, in main
    raise Exception("Some Exception")
Exception: Some Exception
----

It should show the value of bar is 1 on the first frame printed.

----------
files: st.py
messages: 238711
nosy: Umank Behera
priority: normal
severity: normal
status: open
title: Stack Trace should show argument value passed into a function, not just the keyword
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file38607/st.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23724>
_______________________________________


More information about the New-bugs-announce mailing list