Message47838
| 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:58 | admin | link | issue1145039 messages |
| 2007年08月23日 15:41:58 | admin | create |
|