[Python-checkins] python/dist/src/Modules parsermodule.c,2.75,2.76

Michael Hudson mwh@python.net
Mon, 10 Feb 2003 09:58:42 +0000


Neal Norwitz <neal@metaslash.com> writes:

>> ***************
>> *** 1695,1698 ****
>> --- 1718,1727 ----
>> +     if (!res && !PyErr_Occurred())
>> +         err_string("illegal global statement");
>> + 
>> +     if (!res && !PyErr_Occurred())
>> +         err_string("illegal global statement");
>
> Isn't only one of these is required?

Uh, yeah.  Silly patch program.  Sorry about that.

Cheers,
M.

-- 
  > so python will fork if activestate starts polluting it?
  I find it more relevant to speculate on whether Python would fork
  if the merpeople start invading our cities riding on the backs of 
  giant king crabs.                 -- Brian Quinlan, comp.lang.python