Petri Lehtinen <pe...@digip.org> added the comment:

Attached an updated patch.

I incref'd the return value of PyErr_GetTraceback() because PyErr_Restore() 
steals the reference. The documentation of PyErr_GetTraceback() doesn't tell 
whether it returns a new or borrowed reference, but apparently a new reference 
then?

----------
Added file: http://bugs.python.org/file23445/issue13188_v2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13188>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to