Re: AST: jump offsets wrong when EXTENDED_ARG is used
Neil Schemenauer <[email protected]> Sun, 23 Oct 2005 18:24:29 -0600
| Newsgroups | gmane.comp.python.compiler |
|---|---|
| Message-ID | <[email protected]> |
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 number of iterations is bounded by the number of jumps. I think it would be unlikey to require more than one iteration. Neil