#25 Support ROT_THREE and ROT_FOUR interpreter operations

closed-fixed
nobody
None
5
2006-02-04
2005-12-12
No

This patch adds support for the ROT_THREE and ROT_FOUR
interpreter instructions. I don't know why they are
currently missing.

The ROT_THREE instruction is used by the interpreter
while interpreting the following piece of code:

return (32 < 10 < 126)

I don't have an example of code using the ROT_FOUR
instruction, but since it's trivial, I think it's worth
including in the code.

Discussion

  • Patch

     
    Attachments
  • Neal Norwitz
    Neal Norwitz
    2006-02-04

    • status: open --> closed-fixed
     
  • Neal Norwitz
    Neal Norwitz
    2006-02-04

    Logged In: YES
    user_id=33168

    pychecker/CodeChecks.py 1.166