-
-
Notifications
You must be signed in to change notification settings - Fork 434
Equivalent code
R. Bernstein edited this page Jan 26, 2017
·
1 revision
Below are real constructs we have seen that confuse bytecode verification.
if x:
# some code ...
return
# some other code ...
vs.
if x:
# some code
else:
# some other code
a and b
vs.
if a:
b
if 1 or 0:
...
vs.
if 1:
...
x = 1 + 2
vs
x = 3