-
-
Notifications
You must be signed in to change notification settings - Fork 424
Split WITH_CLEANUP into WITH_CLEANUP_START/FINISH #620
Conversation
} | ||
// Assuming Python 3.5 | ||
var ret = this.pop() | ||
var exc = this.pop() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At column 33: (no-undef) 'opcode' is not defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how your code is failing this check, so I think this is safe to ignore while we still work out bugs in beekeeper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hrm... Yeah - not sure what's going on here, because the Beefore check passed...
} | ||
// Assuming Python 3.5 | ||
var ret = this.pop() | ||
var exc = this.pop() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At column 49: (no-undef) 'opname' is not defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
Opcode 81 - WITH_CLEANUP is replaced in Python 3.5+ by pair of opcodes: 81 - WITH_CLEANUP_START and 82 - WITH_CLEANUP_FINISH
8130663
to
8df71f1
Compare
this.push('silenced') | ||
} | ||
} else { | ||
// Assuming Python 3.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this code work for 3.5+ or just 3.5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depends on when/if they change the opcode. It looks like it's the same for 3.6 (except for the format change - but that's a marshalling issue, not an opcode issue.)
Opcode 81 - WITH_CLEANUP is replaced in Python 3.5+ by pair of opcodes:
81 - WITH_CLEANUP_START and 82 - WITH_CLEANUP_FINISH