Author martin.panter
Recipients eric.smith, martin.panter, petr.viktorin
Date 2016-02-05.20:39:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454704799.41.0.634461880218.issue26287@psf.upfronthosting.co.za>
In-reply-to
Content
I have zero experience with with ceval.c but I have a theory after looking over revision 1ddeb2e175df. I suspect “value” is a borrowed reference from TOP(), but at <https://hg.python.org/cpython/diff/1ddeb2e175df/Python/ceval.c#l1.35> and <https://hg.python.org/cpython/diff/1ddeb2e175df/Python/ceval.c#l1.54> you are calling DECREF on it without calling SET_TOP() if there is an error.

I suspected FORMAT_VALUE, because the crash doesn’t happen when you call format() directly.
History
Date User Action Args
2016-02-05 20:39:59martin.pantersetrecipients: + martin.panter, eric.smith, petr.viktorin
2016-02-05 20:39:59martin.pantersetmessageid: <1454704799.41.0.634461880218.issue26287@psf.upfronthosting.co.za>
2016-02-05 20:39:59martin.panterlinkissue26287 messages
2016-02-05 20:39:59martin.pantercreate