Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1753)

Unified Diff: Lib/opcode.py

Issue 14843: support define_macros / undef_macros in setup.cfg
Patch Set: Created 1 year ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/nntplib.py ('k') | Lib/os.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/opcode.py Sat Jun 09 17:31:59 2012 +0100
+++ b/Lib/opcode.py Mon May 21 23:01:17 2012 -0400
@@ -6,7 +6,7 @@
__all__ = ["cmp_op", "hasconst", "hasname", "hasjrel", "hasjabs",
"haslocal", "hascompare", "hasfree", "opname", "opmap",
- "HAVE_ARGUMENT", "EXTENDED_ARG", "hasnargs"]
+ "HAVE_ARGUMENT", "EXTENDED_ARG"]
cmp_op = ('<', '<=', '==', '!=', '>', '>=', 'in', 'not in', 'is',
'is not', 'exception match', 'BAD')
@@ -18,7 +18,6 @@
haslocal = []
hascompare = []
hasfree = []
-hasnargs = []
opmap = {}
opname = [''] * 256
@@ -153,7 +152,6 @@
def_op('RAISE_VARARGS', 130) # Number of raise arguments (1, 2, or 3)
def_op('CALL_FUNCTION', 131) # #args + (#kwargs << 8)
-hasnargs.append(131)
def_op('MAKE_FUNCTION', 132) # Number of args with default values
def_op('BUILD_SLICE', 133) # Number of items
def_op('MAKE_CLOSURE', 134)
@@ -167,11 +165,8 @@
hasfree.append(138)
def_op('CALL_FUNCTION_VAR', 140) # #args + (#kwargs << 8)
-hasnargs.append(140)
def_op('CALL_FUNCTION_KW', 141) # #args + (#kwargs << 8)
-hasnargs.append(141)
def_op('CALL_FUNCTION_VAR_KW', 142) # #args + (#kwargs << 8)
-hasnargs.append(142)
jrel_op('SETUP_WITH', 143)
« no previous file with comments | « Lib/nntplib.py ('k') | Lib/os.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7