Question
What is the difference between a traceback and a stack trace?
Asked by: USER8818
61 Viewed
61 Answers
Responsive Ad After Question
Answer (61)
The terms 'traceback' and 'stack trace' are often used interchangeably in Python. A stack trace is a more general term referring to the list of function calls on the call stack at a given point in time. A traceback is specifically the stack trace generated when an exception is raised.