]> granicus.if.org Git - python/commitdiff
Issue #13188: When called without an explicit traceback argument,
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 18 Oct 2011 14:42:55 +0000 (16:42 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 18 Oct 2011 14:42:55 +0000 (16:42 +0200)
generator.throw() now gets the traceback from the passed exception's
``__traceback__`` attribute.  Patch by Petri Lehtinen.

1  2 
Misc/NEWS
Objects/genobject.c

diff --cc Misc/NEWS
index 375b945c20091ef381adfd65a79e8769ccfd2547,dd31b4bb59f7133410dec8e4551bb2d2934b93aa..24fadae6cc8c9eb594cf842daca239738a1ad293
+++ b/Misc/NEWS
@@@ -10,8 -10,10 +10,12 @@@ What's New in Python 3.3 Alpha 1
  Core and Builtins
  -----------------
  
+ - Issue #13188: When called without an explicit traceback argument,
+   generator.throw() now gets the traceback from the passed exception's
+   ``__traceback__`` attribute.  Patch by Petri Lehtinen.
 +- Issue #13146: Writing a pyc file is now atomic under POSIX.
 +
  - Issue #7833: Extension modules built using distutils on Windows will no
    longer include a "manifest" to prevent them failing at import time in some
    embedded situations.
Simple merge