Kaydet (Commit) b2ba9d89 authored tarafından Barry Warsaw's avatar Barry Warsaw

eval_code2(): Oops, in the last checkin, we shouldn't check for

PyErr_Occurred(), just set x=NULL and break.  Oh, and make Jeremy stop
nagging me about the "special" indentation for this block.
üst 4961ef70
...@@ -1637,12 +1637,8 @@ eval_code2(co, globals, locals, ...@@ -1637,12 +1637,8 @@ eval_code2(co, globals, locals,
} }
nstar = PySequence_Length(stararg); nstar = PySequence_Length(stararg);
if (nstar < 0) { if (nstar < 0) {
if (!PyErr_Occurred) x = NULL;
PyErr_SetString( break;
PyExc_TypeError,
"len() of unsized object");
x = NULL;
break;
} }
} }
if (nk > 0) { if (nk > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment