]> granicus.if.org Git - python/commitdiff
Issue #21897: Fix a crash with the f_locals attribute with closure variables when...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 5 Jul 2014 00:26:22 +0000 (20:26 -0400)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 5 Jul 2014 00:26:22 +0000 (20:26 -0400)
1  2 
Misc/NEWS

diff --cc Misc/NEWS
index 94e95c22a73d09a7e70f6ecd68c2c2a5aef416e5,4e083233a5462d9cc87e292e9155a2f4c5933600..dc42be7802f6959854a5ea0ba44243b3ba4a911c
+++ b/Misc/NEWS
@@@ -10,12 -10,6 +10,15 @@@ Release date: TB
  Core and Builtins
  -----------------
  
++- Issue #21897: Fix a crash with the f_locals attribute with closure
++  variables when frame.clear() has been called.
++
 +- Issue #21205: Add a new ``__qualname__`` attribute to generator, the
 +  qualified name, and use it in the representation of a generator
 +  (``repr(gen)``). The default name of the generator (``__name__`` attribute)
 +  is now get from the function instead of the code. Use ``gen.gi_code.co_name``
 +  to get the name of the code.
 +
  - Issue #21669: With the aid of heuristics in SyntaxError.__init__, the
    parser now attempts to generate more meaningful (or at least more search
    engine friendly) error messages when "exec" and "print" are used as