This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2015年03月20日 18:50 by Umank Behera, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| st.py | Umank Behera, 2015年03月20日 18:50 | source file | ||
| Messages (2) | |||
|---|---|---|---|
| msg238711 - (view) | Author: Umank Behera (Umank Behera) | Date: 2015年03月20日 18:50 | |
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.
|
|||
| msg238758 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2015年03月21日 04:16 | |
Duplicate of issue 22936. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:14 | admin | set | github: 67912 |
| 2015年03月21日 04:16:33 | r.david.murray | set | status: open -> closed superseder: traceback module has no way to show locals versions: - Python 2.7, Python 3.4, Python 3.6 nosy: + r.david.murray messages: + msg238758 resolution: duplicate stage: resolved |
| 2015年03月20日 18:50:08 | Umank Behera | create | |