This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2006-05-26.18:41:44
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

Note that the patch is out of date.

I agree the invariant you deduced should hold, but in fact
it doesn't now, at least due to insane initialization
problems in exceptions.c:

http://mail.python.org/pipermail/python-dev/2006-May/065248.html

I'd like to ensure & exploit a stronger invariant:

http://mail.python.org/pipermail/python-dev/2006-May/065231.html

but that's stuck for now.  I put my work in progress on a
new branch:

svn+ssh://svn.python.org/python/branches/tim-exc_sanity

BTW, I don't agree that the incref on Py_None wasn't needed.
 Py_None is getting assigned to two new pointers
(tstate->exc_type and frame->f_exc_type), so should be
incremented twice.
History
Date User Action Args
2007-08-23 15:41:58adminlinkissue1145039 messages
2007-08-23 15:41:58admincreate