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 <rep...@bugs.python.org>
<http://bugs.python.org/issue23724>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to