Re: AST: jump offsets wrong when EXTENDED_ARG is used

Neal Norwitz <[email protected]> Sun, 23 Oct 2005 17:26:22 -0700
Newsgroups gmane.comp.python.compiler
Message-ID <[email protected]>
On 10/23/05, Neil Schemenauer <[email protected]> wrote:
> On Sun, Oct 23, 2005 at 04:03:00PM -0700, Neal Norwitz wrote:
> > Yes.  I checked in some code that I believe works.  I don't know of
> > any other solution currently.  It would be great if you could review
> > and clean up my code.  I tried to do a little other cleanup but I'm
> > not sure if I really helped anything.  Reword the big comment (which
> > also tries to describe the issue) if you can express the issue more
> > clearly.
>
> It looks okay to me.  I don't think it's that bad of a hack.  The

Ok.  I'll see if anyone else comments.  I can remove the first part of
the comment.

> number of iterations is bounded by the number of jumps.  I think it
> would be unlikey to require more than one iteration.

Agreed.

n