Issue2378: pdb would delete free variables when stepping into a class statement.
The problem was introduced by r53954, the correction is to restore the symmetry between
PyFrame_FastToLocals and PyFrame_LocalsToFast
diff --git a/Misc/NEWS b/Misc/NEWS
index 03f80a5..7946633 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@
Core and Builtins
-----------------
+- Issue #2378: An unexpected UnboundLocalError or NameError could appear when
+ the python debugger steps into a class statement: the free variables (local
+ variables defined in an outer scope) would be deleted from the outer scope.
+
Library
-------