From 9d1082bd302832fe7289dfbed53a81a17eccf05c Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Thu, 21 Nov 2019 13:13:36 +0000 Subject: [PATCH] Add changelog file. --- changelog/6255.bugfix.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog/6255.bugfix.rst diff --git a/changelog/6255.bugfix.rst b/changelog/6255.bugfix.rst new file mode 100644 index 000000000..831187feb --- /dev/null +++ b/changelog/6255.bugfix.rst @@ -0,0 +1,3 @@ +Clear the ``sys.last_traceback``, ``sys.last_type`` and ``sys.last_value`` +attributes by deleting them instead of setting them to ``None``. This better +matches the behaviour of the Python standard library.