From: Antoine Pitrou Date: Sat, 5 Jul 2014 00:26:22 +0000 (-0400) Subject: Issue #21897: Fix a crash with the f_locals attribute with closure variables when... X-Git-Tag: v3.5.0a1~1345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a93342b8b2aeb0332de9ea0880d4592824467f3f;p=python Issue #21897: Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called. --- a93342b8b2aeb0332de9ea0880d4592824467f3f diff --cc Misc/NEWS index 94e95c22a7,4e083233a5..dc42be7802 --- a/Misc/NEWS +++ 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