Message68555
| Author | tenuki |
|---|---|
| Recipients | jerry.seutter, nikolasco, tenuki, werneck |
| Date | 2008-06-22.02:59:50 |
| SpamBayes Score | 0.016752115 |
| Marked as misclassified | No |
| Message-id | <1214103594.07.0.0563390993916.issue2378@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Some debugging helper code and my conclutions of one work day:
debughelper.tgZ:
-test_broken1/2.py
one does triggers the bug, the other doesn't)
-rtest.sh
executes boths and compares its outputs
-frameobject.c.diff
applied to Objects/frameobject.c, adds some debug info.
What I found:
1. The CustomException is disappearing from locals()
2. PyFrame_FastToLocals() (from that .c file) is updating the locals,
and removing that exception from there.
3. In the failing case this code:
if (deref) {
assert(PyCell_Check(value));
value = PyCell_GET(value);
}
is returning value==NULL.
Don't know why that happens.
But you could inspect out1.txt/out2.txt made with rtest.sh, and could
discover something.. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-06-22 02:59:55 | tenuki | set | spambayes_score: 0.0167521 -> 0.016752115 recipients: + tenuki, jerry.seutter, werneck, nikolasco |
| 2008-06-22 02:59:54 | tenuki | set | spambayes_score: 0.0167521 -> 0.0167521 messageid: <1214103594.07.0.0563390993916.issue2378@psf.upfronthosting.co.za> |
| 2008-06-22 02:59:52 | tenuki | link | issue2378 messages |
| 2008-06-22 02:59:51 | tenuki | create | |