[Python-Dev] Fix for bug 597919 (compiler package vs SET_LINENO)

Michael Hudson mwh@python.net
30 Dec 2002 12:41:28 +0000


I've finally come up with a patch I'm 90% happy with for this problem,
got my iBook's modem talking to my ISP right and created a diff.

Unfortunately, SF's tracker isn't behaving and I'm about to disappear
from the internet for a day or so and 2.3a1 is due tomorrow, so it's
here:

   http://starship.python.net/crew/mwh/hacks/compiler-fixes-3.diff

There's one outstanding problem with the compiler package to do with
code of the form (unary operator)constant which is shown up by
test_grammar, but that aside I can compile the test suite and the
standard library using the patched compiler package and it runs fine.

I'd really like to see this patch in 2.3a1.  I'll fix the -literal
thing for 2.3a2, but I bet noone notices it in the mean time :)

Cheers,
M.

-- 
  at any rate, I'm satisfied that not only do they know which end of
  the pointy thing to hold, but where to poke it for maximum effect.
                                  -- Eric The Read, asr, on google.com