[pypy-svn] r9373 - pypy/dist/pypy/module
sanxiyn at codespeak.net
sanxiyn at codespeak.net
Mon Feb 21 01:49:21 CET 2005
Author: sanxiyn
Date: Mon Feb 21 01:49:21 2005
New Revision: 9373
Modified:
pypy/dist/pypy/module/classobjinterp.py
Log:
Regenerated with:
python translator/tool/tointerplevel.py --modname classobj --out module/classobjinterp.py lib/_classobj.py classobj instance purify
Modified: pypy/dist/pypy/module/classobjinterp.py
==============================================================================
--- pypy/dist/pypy/module/classobjinterp.py (original)
+++ pypy/dist/pypy/module/classobjinterp.py Mon Feb 21 01:49:21 2005
@@ -6,7 +6,7 @@
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '_coerce'
## firstlineno 7
##SECTION##
@@ -68,7 +68,7 @@
fastf__coerce = _coerce
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'uid'
## firstlineno 18
##SECTION##
@@ -118,7 +118,7 @@
fastf_uid = uid
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'type_err'
## firstlineno 35
##SECTION##
@@ -156,7 +156,7 @@
fastf_type_err = type_err
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'set_name'
## firstlineno 38
##SECTION##
@@ -207,7 +207,7 @@
fastf_set_name = set_name
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'set_bases'
## firstlineno 43
##SECTION##
@@ -292,7 +292,7 @@
fastf_set_bases = set_bases
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'set_dict'
## firstlineno 51
##SECTION##
@@ -342,7 +342,7 @@
fastf_set_dict = set_dict
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'retrieve'
## firstlineno 56
##SECTION##
@@ -416,7 +416,7 @@
fastf_retrieve = retrieve
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'lookup'
## firstlineno 63
##SECTION##
@@ -548,7 +548,7 @@
fastf_lookup = lookup
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'get_class_module'
## firstlineno 75
##SECTION##
@@ -628,7 +628,7 @@
fastf_get_class_module = get_class_module
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'mro_lookup'
## firstlineno 84
##SECTION##
@@ -705,7 +705,7 @@
fastf_mro_lookup = mro_lookup
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__new__'
## firstlineno 112
##SECTION##
@@ -911,7 +911,7 @@
if goto == 15:
try:
- w_42 = space.call_function((space.getattr(space.w_sys, gs__getframe)), w_i)
+ w_42 = space.call_function((space.sys.get(space.str_w(gs__getframe))), w_i)
(w_name_15, w_bases_15, w_dic_15, w_i_1, w_43) = (w_name_13,
w_bases_13, w_dic_13, w_i, w_42)
goto = 16
@@ -1086,7 +1086,7 @@
if goto == 29:
w_74 = space.call_function(space.w_type, w_b_2)
- w_75 = space.call_function((space.getattr(space.w_builtin, gs_callable)), w_74)
+ w_75 = space.call_function((space.builtin.get(space.str_w(gs_callable))), w_74)
v76 = space.is_true(w_75)
if v76 == True:
(w_name_28, w_bases_28, w_dic_28, w_b_3) = (w_name_27, w_bases_27,
@@ -1122,7 +1122,7 @@
fastf___new__ = __new__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__setattr__'
## firstlineno 162
##SECTION##
@@ -1210,7 +1210,7 @@
fastf_classobj___setattr__ = __setattr__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__delattr__'
## firstlineno 172
##SECTION##
@@ -1261,7 +1261,7 @@
fastf_classobj___delattr__ = __delattr__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__getattribute__'
## firstlineno 179
##SECTION##
@@ -1402,7 +1402,7 @@
fastf_classobj___getattribute__ = __getattribute__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__repr__'
## firstlineno 196
##SECTION##
@@ -1441,7 +1441,7 @@
fastf_classobj___repr__ = __repr__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__str__'
## firstlineno 200
##SECTION##
@@ -1497,7 +1497,7 @@
fastf_classobj___str__ = __str__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__call__'
## firstlineno 207
##SECTION##
@@ -1567,7 +1567,7 @@
fastf_classobj___call__ = __call__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function 'instance_getattr1'
## firstlineno 228
##SECTION##
@@ -1787,7 +1787,7 @@
fastf_instance_getattr1 = instance_getattr1
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__getattribute__'
## firstlineno 252
##SECTION##
@@ -1894,7 +1894,7 @@
fastf_instance___getattribute__ = __getattribute__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__new__'
## firstlineno 261
##SECTION##
@@ -1983,7 +1983,7 @@
fastf___new___1 = __new__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__setattr__'
## firstlineno 274
##SECTION##
@@ -2107,7 +2107,7 @@
fastf_instance___setattr__ = __setattr__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__delattr__'
## firstlineno 290
##SECTION##
@@ -2249,7 +2249,7 @@
fastf_instance___delattr__ = __delattr__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__repr__'
## firstlineno 306
##SECTION##
@@ -2343,7 +2343,7 @@
fastf_instance___repr__ = __repr__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__str__'
## firstlineno 315
##SECTION##
@@ -2423,7 +2423,7 @@
fastf_instance___str__ = __str__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__hash__'
## firstlineno 322
##SECTION##
@@ -2536,7 +2536,7 @@
fastf_instance___hash__ = __hash__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__len__'
## firstlineno 336
##SECTION##
@@ -2601,7 +2601,7 @@
fastf_instance___len__ = __len__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__getitem__'
## firstlineno 345
##SECTION##
@@ -2683,7 +2683,7 @@
fastf_instance___getitem__ = __getitem__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__setitem__'
## firstlineno 352
##SECTION##
@@ -2771,7 +2771,7 @@
fastf_instance___setitem__ = __setitem__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__delitem__'
## firstlineno 359
##SECTION##
@@ -2853,7 +2853,7 @@
fastf_instance___delitem__ = __delitem__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
+## filename '_classobj.py'
## function '__contains__'
## firstlineno 366
##SECTION##
@@ -2925,565 +2925,508 @@
fastf_instance___contains__ = __contains__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function '__coerce__'
-## firstlineno 387
+## filename '_classobj.py'
+## function '__abs__'
+## firstlineno 381
##SECTION##
-def __coerce__(space, __args__):
- funcname = "__coerce__"
- signature = ['self', 'other'], None, None
+def __abs__(space, __args__):
+ funcname = "__abs__"
+ signature = ['self'], None, None
defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___coerce__(space, w_self, w_other)
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___abs__(space, w_self)
-f_instance___coerce__ = __coerce__
+f_instance___abs__ = __abs__
-def __coerce__(space, w_self, w_other):
+def __abs__(space, w_self):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_0=w_2=w_3=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___coerce__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
- goto = 3
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___abs__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
- goto = 3
-
- if goto == 3:
- return w_4
+ return w_3
-fastf_instance___coerce__ = __coerce__
+fastf_instance___abs__ = __abs__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function '__pow__'
-## firstlineno 441
+## filename '_classobj.py'
+## function '__float__'
+## firstlineno 381
##SECTION##
-def __pow__(space, __args__):
- funcname = "__pow__"
- signature = ['self', 'other', 'modulo'], None, None
- defaults_w = [space.w_None]
- w_self, w_other, w_modulo = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___pow__(space, w_self, w_other, w_modulo)
+def __float__(space, __args__):
+ funcname = "__float__"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___float__(space, w_self)
-f_instance___pow__ = __pow__
+f_instance___float__ = __float__
-def __pow__(space, w_self, w_other, w_modulo):
+def __float__(space, w_self):
- w_0=v2=w_self_2=w_other_2=w_modulo_1=w_func_2=v17=w_14=w_other_8=None
- w_modulo_2=w_func_3=w_18=w_self_1=w_other_1=w_coerced=w_6=v7=None
- w_self_4=w_other_4=w_coerced_1=w_9=w_10=w_self_3=w_other_3=w_8=None
- v11=w_self_6=w_other_6=w_16=w_self_5=w_other_5=w_func=v13=w_other_7=None
- w_func_1=w_15=None
+ w_0=w_2=w_3=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.is_(w_modulo, space.w_None)
- v2 = space.is_true(w_0)
- if v2 == True:
- w_self_1, w_other_1 = w_self, w_other
- goto = 2
- else:
- assert v2 == False
- w_self_2, w_other_2, w_modulo_1 = w_self, w_other, w_modulo
- goto = 8
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___float__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
if goto == 2:
- w_coerced = fastf__coerce(space, w_self_1, w_other_1)
- w_6 = space.is_(w_coerced, space.w_None)
- v7 = space.is_true(w_6)
- if v7 == True:
- w_self_3, w_other_3, w_8 = w_self_1, w_other_1, w_6
- goto = 4
- else:
- assert v7 == False
- w_self_4, w_other_4, w_coerced_1 = w_self_1, w_other_1, w_coerced
- goto = 3
+ return w_3
- if goto == 3:
- w_9 = space.getitem(w_coerced_1, gi_0)
- w_10 = space.is_(w_9, w_self_4)
- w_self_3, w_other_3, w_8 = w_self_4, w_other_4, w_10
- goto = 4
+fastf_instance___float__ = __float__
- if goto == 4:
- v11 = space.is_true(w_8)
- if v11 == True:
- w_self_5, w_other_5 = w_self_3, w_other_3
- goto = 5
- else:
- assert v11 == False
- w_self_6, w_other_6 = w_self_3, w_other_3
- goto = 7
+##SECTION##
+## filename '_classobj.py'
+## function '__hex__'
+## firstlineno 381
+##SECTION##
+def __hex__(space, __args__):
+ funcname = "__hex__"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___hex__(space, w_self)
- if goto == 5:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_5, gs___pow__, space.w_False)
- v13 = space.is_true(w_func)
- if v13 == True:
- w_other_7, w_func_1 = w_other_5, w_func
- goto = 6
- else:
- assert v13 == False
- w_14 = space.w_NotImplemented
- goto = 10
+f_instance___hex__ = __hex__
- if goto == 6:
- w_15 = space.call_function(w_func_1, w_other_7)
- w_14 = w_15
- goto = 10
+def __hex__(space, w_self):
- if goto == 7:
- w_16 = space.pow(w_self_6, w_other_6)
- w_14 = w_16
- goto = 10
+ w_0=w_2=w_3=None
- if goto == 8:
- w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_2, gs___pow__, space.w_False)
- v17 = space.is_true(w_func_2)
- if v17 == True:
- w_other_8, w_modulo_2, w_func_3 = w_other_2, w_modulo_1, w_func_2
- goto = 9
- else:
- assert v17 == False
- w_14 = space.w_NotImplemented
- goto = 10
+ goto = 1 # startblock
+ while True:
- if goto == 9:
- w_18 = space.call_function(w_func_3, w_other_8, w_modulo_2)
- w_14 = w_18
- goto = 10
+ if goto == 1:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___hex__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
- if goto == 10:
- return w_14
+ if goto == 2:
+ return w_3
-fastf_instance___pow__ = __pow__
+fastf_instance___hex__ = __hex__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function '__rpow__'
-## firstlineno 459
+## filename '_classobj.py'
+## function '__int__'
+## firstlineno 381
##SECTION##
-def __rpow__(space, __args__):
- funcname = "__rpow__"
- signature = ['self', 'other', 'modulo'], None, None
- defaults_w = [space.w_None]
- w_self, w_other, w_modulo = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rpow__(space, w_self, w_other, w_modulo)
+def __int__(space, __args__):
+ funcname = "__int__"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___int__(space, w_self)
-f_instance___rpow__ = __rpow__
+f_instance___int__ = __int__
-def __rpow__(space, w_self, w_other, w_modulo):
+def __int__(space, w_self):
- w_0=v2=w_self_2=w_other_2=w_modulo_1=w_func_2=v17=w_14=w_other_8=None
- w_modulo_2=w_func_3=w_18=w_self_1=w_other_1=w_coerced=w_6=v7=None
- w_self_4=w_other_4=w_coerced_1=w_9=w_10=w_self_3=w_other_3=w_8=None
- v11=w_self_6=w_other_6=w_16=w_self_5=w_other_5=w_func=v13=w_other_7=None
- w_func_1=w_15=None
+ w_0=w_2=w_3=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.is_(w_modulo, space.w_None)
- v2 = space.is_true(w_0)
- if v2 == True:
- w_self_1, w_other_1 = w_self, w_other
- goto = 2
- else:
- assert v2 == False
- w_self_2, w_other_2, w_modulo_1 = w_self, w_other, w_modulo
- goto = 8
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___int__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
if goto == 2:
- w_coerced = fastf__coerce(space, w_self_1, w_other_1)
- w_6 = space.is_(w_coerced, space.w_None)
- v7 = space.is_true(w_6)
- if v7 == True:
- w_self_3, w_other_3, w_8 = w_self_1, w_other_1, w_6
- goto = 4
- else:
- assert v7 == False
- w_self_4, w_other_4, w_coerced_1 = w_self_1, w_other_1, w_coerced
- goto = 3
+ return w_3
- if goto == 3:
- w_9 = space.getitem(w_coerced_1, gi_0)
- w_10 = space.is_(w_9, w_self_4)
- w_self_3, w_other_3, w_8 = w_self_4, w_other_4, w_10
- goto = 4
+fastf_instance___int__ = __int__
- if goto == 4:
- v11 = space.is_true(w_8)
- if v11 == True:
- w_self_5, w_other_5 = w_self_3, w_other_3
- goto = 5
- else:
- assert v11 == False
- w_self_6, w_other_6 = w_self_3, w_other_3
- goto = 7
+##SECTION##
+## filename '_classobj.py'
+## function '__invert__'
+## firstlineno 381
+##SECTION##
+def __invert__(space, __args__):
+ funcname = "__invert__"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___invert__(space, w_self)
- if goto == 5:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_5, gs___rpow__, space.w_False)
- v13 = space.is_true(w_func)
- if v13 == True:
- w_other_7, w_func_1 = w_other_5, w_func
- goto = 6
- else:
- assert v13 == False
- w_14 = space.w_NotImplemented
- goto = 10
+f_instance___invert__ = __invert__
- if goto == 6:
- w_15 = space.call_function(w_func_1, w_other_7)
- w_14 = w_15
- goto = 10
+def __invert__(space, w_self):
- if goto == 7:
- w_16 = space.pow(w_other_6, w_self_6)
- w_14 = w_16
- goto = 10
+ w_0=w_2=w_3=None
- if goto == 8:
- w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_2, gs___rpow__, space.w_False)
- v17 = space.is_true(w_func_2)
- if v17 == True:
- w_other_8, w_modulo_2, w_func_3 = w_other_2, w_modulo_1, w_func_2
- goto = 9
- else:
- assert v17 == False
- w_14 = space.w_NotImplemented
- goto = 10
+ goto = 1 # startblock
+ while True:
- if goto == 9:
- w_18 = space.call_function(w_func_3, w_other_8, w_modulo_2)
- w_14 = w_18
- goto = 10
+ if goto == 1:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___invert__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
- if goto == 10:
- return w_14
+ if goto == 2:
+ return w_3
-fastf_instance___rpow__ = __rpow__
+fastf_instance___invert__ = __invert__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function '__nonzero__'
-## firstlineno 477
+## filename '_classobj.py'
+## function '__long__'
+## firstlineno 381
##SECTION##
-# global declarations
-# global object gs___nonzero_____should_return____0
-# global object gs___nonzero_____should_return_an_i
-
-def __nonzero__(space, __args__):
- funcname = "__nonzero__"
+def __long__(space, __args__):
+ funcname = "__long__"
signature = ['self'], None, None
defaults_w = []
w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___nonzero__(space, w_self)
+ return fastf_instance___long__(space, w_self)
-f_instance___nonzero__ = __nonzero__
+f_instance___long__ = __long__
-def __nonzero__(space, w_self):
+def __long__(space, w_self):
- w_func=v2=w_self_1=w_func_2=v3=w_4=w_func_1=w_ret=w_6=v7=w_14=None
- w_etype=w_evalue=w_ret_1=w_8=v9=w_ret_2=w_13=w_10=None
+ w_0=w_2=w_3=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___nonzero__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_func_1 = w_func
- goto = 3
- else:
- assert v2 == False
- w_self_1 = w_self
- goto = 2
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___long__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
if goto == 2:
- w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_1, gs___nonzero__, space.w_False)
- v3 = space.is_true(w_func_2)
- if v3 == True:
- w_func_1 = w_func_2
- goto = 3
- else:
- assert v3 == False
- w_4 = space.w_True
- goto = 9
+ return w_3
- if goto == 3:
- w_ret = space.call_function(w_func_1, )
- w_6 = space.isinstance(w_ret, space.w_int)
- v7 = space.is_true(w_6)
- if v7 == True:
- w_ret_1 = w_ret
- goto = 4
- else:
- assert v7 == False
- goto = 7
+fastf_instance___long__ = __long__
- if goto == 4:
- w_8 = space.lt(w_ret_1, gi_0)
- v9 = space.is_true(w_8)
- if v9 == True:
- goto = 5
- else:
- assert v9 == False
- w_ret_2 = w_ret_1
- goto = 6
+##SECTION##
+## filename '_classobj.py'
+## function '__neg__'
+## firstlineno 381
+##SECTION##
+def __neg__(space, __args__):
+ funcname = "__neg__"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___neg__(space, w_self)
- if goto == 5:
- w_10 = space.call_function(space.w_ValueError, gs___nonzero_____should_return____0)
- w_etype, w_evalue = space.w_ValueError, w_10
- goto = 8
+f_instance___neg__ = __neg__
- if goto == 6:
- w_13 = space.gt(w_ret_2, gi_0)
- w_4 = w_13
- goto = 9
+def __neg__(space, w_self):
- if goto == 7:
- w_14 = space.call_function(space.w_TypeError, gs___nonzero_____should_return_an_i)
- w_etype, w_evalue = space.w_TypeError, w_14
- goto = 8
+ w_0=w_2=w_3=None
- if goto == 8:
- raise OperationError(w_etype, w_evalue)
+ goto = 1 # startblock
+ while True:
- if goto == 9:
- return w_4
+ if goto == 1:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___neg__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
-fastf_instance___nonzero__ = __nonzero__
+ if goto == 2:
+ return w_3
+
+fastf_instance___neg__ = __neg__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function '__call__'
-## firstlineno 492
+## filename '_classobj.py'
+## function '__oct__'
+## firstlineno 381
##SECTION##
-# global declaration
-# global object gs__s_instance_has_no___call___meth
-
-def __call__(space, __args__):
- funcname = "__call__"
- signature = ['self'], 'args', 'kwds'
+def __oct__(space, __args__):
+ funcname = "__oct__"
+ signature = ['self'], None, None
defaults_w = []
- w_self, w_args, w_kwds = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___call__(space, w_self, w_args, w_kwds)
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___oct__(space, w_self)
-f_instance___call__ = __call__
+f_instance___oct__ = __oct__
-def __call__(space, w_self, w_args, w_kwds):
+def __oct__(space, w_self):
- w_func=v2=w_self_1=w_5=w_6=w_7=w_etype=w_evalue=w_args_1=w_kwds_1=None
- w_func_1=w_10=w_11=None
+ w_0=w_2=w_3=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___call__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_args_1, w_kwds_1, w_func_1 = w_args, w_kwds, w_func
- goto = 3
- else:
- assert v2 == False
- w_self_1 = w_self
- goto = 2
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___oct__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
if goto == 2:
- w_5 = space.getattr(w_self_1, gs___class__)
- w_6 = space.getattr(w_5, gs___name__)
- w_7 = space.mod(gs__s_instance_has_no___call___meth, w_6)
- w_etype, w_evalue = space.w_AttributeError, w_7
- goto = 4
+ return w_3
- if goto == 3:
- _args = Arguments.fromshape(space, (0, (), True, True), [w_args_1, w_kwds_1])
- w_10 = space.call_args(w_func_1, _args)
- w_11 = w_10
- goto = 5
+fastf_instance___oct__ = __oct__
- if goto == 4:
- raise OperationError(w_etype, w_evalue)
+##SECTION##
+## filename '_classobj.py'
+## function '__pos__'
+## firstlineno 381
+##SECTION##
+def __pos__(space, __args__):
+ funcname = "__pos__"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___pos__(space, w_self)
- if goto == 5:
- return w_11
+f_instance___pos__ = __pos__
-fastf_instance___call__ = __call__
+def __pos__(space, w_self):
+
+ w_0=w_2=w_3=None
+
+ goto = 1 # startblock
+ while True:
+
+ if goto == 1:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___pos__)
+ w_2 = space.call_function(w_0, )
+ w_3 = w_2
+ goto = 2
+
+ if goto == 2:
+ return w_3
+
+fastf_instance___pos__ = __pos__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function '__iter__'
-## firstlineno 512
+## filename '_classobj.py'
+## function '__coerce__'
+## firstlineno 387
##SECTION##
-# global declarations
-# global object gs___iter___returned_non_iterator_o
-# global object gs_iteration_over_non_sequence
-# global object gs__seqiter
-
-def __iter__(space, __args__):
- funcname = "__iter__"
- signature = ['self'], None, None
+def __coerce__(space, __args__):
+ funcname = "__coerce__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___iter__(space, w_self)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___coerce__(space, w_self, w_other)
-f_instance___iter__ = __iter__
+f_instance___coerce__ = __coerce__
-def __iter__(space, w_self):
+def __coerce__(space, w_self, w_other):
- w_func=v2=w_self_1=w_func_2=v12=w_etype=w_evalue=w_self_2=w_13=None
- w_6=w_func_1=w_ret=w_4=v5=w_ret_1=w_7=w_8=w_9=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___iter__, space.w_False)
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___coerce__, space.w_False)
v2 = space.is_true(w_func)
if v2 == True:
- w_func_1 = w_func
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
else:
assert v2 == False
- w_self_1 = w_self
- goto = 4
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_ret = space.call_function(w_func_1, )
- w_4 = fastf_mro_lookup(space, w_ret, gs_next)
- v5 = space.is_true(w_4)
- if v5 == True:
- w_6 = w_ret
- goto = 7
- else:
- assert v5 == False
- w_ret_1 = w_ret
- goto = 3
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
+ goto = 3
if goto == 3:
- w_7 = space.call_function(space.w_type, w_ret_1)
- w_8 = space.getattr(w_7, gs___name__)
- w_9 = space.mod(gs___iter___returned_non_iterator_o, w_8)
- w_etype, w_evalue = space.w_TypeError, w_9
- goto = 6
+ return w_4
+
+fastf_instance___coerce__ = __coerce__
+
+##SECTION##
+## filename '_classobj.py'
+## function '__add__'
+## firstlineno 404
+##SECTION##
+def __add__(space, __args__):
+ funcname = "__add__"
+ signature = ['self', 'other'], None, None
+ defaults_w = []
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___add__(space, w_self, w_other)
+
+f_instance___add__ = __add__
+
+def __add__(space, w_self, w_other):
+
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
+
+ goto = 1 # startblock
+ while True:
+
+ if goto == 1:
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
+
+ if goto == 2:
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
+
+ if goto == 3:
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
if goto == 4:
- w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_1, gs___getitem__, space.w_False)
- v12 = space.is_true(w_func_2)
- if v12 == True:
- w_self_2 = w_self_1
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___add__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
goto = 5
else:
- assert v12 == False
- (w_etype, w_evalue) = (space.w_TypeError,
- gs_iteration_over_non_sequence)
- goto = 6
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
if goto == 5:
- w_13 = space.call_function((space.getattr(space.w_builtin, gs__seqiter)), w_self_2)
- w_6 = w_13
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
goto = 7
if goto == 6:
- raise OperationError(w_etype, w_evalue)
+ w_13 = space.add(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
if goto == 7:
- return w_6
+ return w_11
-fastf_instance___iter__ = __iter__
+fastf_instance___add__ = __add__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function 'next'
-## firstlineno 527
+## filename '_classobj.py'
+## function '__and__'
+## firstlineno 404
##SECTION##
-# global declaration
-# global object gs_instance_has_no_next___method
-
-def next(space, __args__):
- funcname = "next"
- signature = ['self'], None, None
+def __and__(space, __args__):
+ funcname = "__and__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance_next(space, w_self)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___and__(space, w_self, w_other)
-f_instance_next = next
+f_instance___and__ = __and__
-def next(space, w_self):
+def __and__(space, w_self, w_other):
- w_func=v2=w_etype=w_evalue=w_func_1=w_5=w_6=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs_next, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_func_1 = w_func
- goto = 2
- else:
- assert v2 == False
- (w_etype, w_evalue) = (space.w_TypeError,
- gs_instance_has_no_next___method)
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, )
- w_6 = w_5
- goto = 4
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
if goto == 3:
- raise OperationError(w_etype, w_evalue)
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
if goto == 4:
- return w_6
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___and__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
-fastf_instance_next = next
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.and_(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___and__ = __and__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function '__cmp__'
-## firstlineno 533
+## filename '_classobj.py'
+## function '__div__'
+## firstlineno 404
##SECTION##
-# global declarations
-# global object gs___cmp___must_return_int
-# global object gi_minus_1
-
-def __cmp__(space, __args__):
- funcname = "__cmp__"
+def __div__(space, __args__):
+ funcname = "__div__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___cmp__(space, w_self, w_other)
+ return fastf_instance___div__(space, w_self, w_other)
-f_instance___cmp__ = __cmp__
+f_instance___div__ = __div__
-def __cmp__(space, w_self, w_other):
+def __div__(space, w_self, w_other):
- w_coerced=w_3=v4=w_coerced_1=w_v_1=w_w_1=w_7=v8=w_v_3=w_w_3=w_10=None
- v11=w_w_2=w_v_2=w_9=v12=w_w=w_v=w_15=v16=w_w_6=w_v_6=w_28=v29=None
- w_14=w_v_7=w_func_2=v30=w_v_8=w_func_3=w_res_3=w_31=v32=w_etype=None
- w_evalue=w_res_4=w_33=v34=w_res_5=w_35=v36=w_w_5=w_v_5=w_func=None
- v18=w_w_7=w_func_1=w_res=w_20=v21=w_res_1=w_24=v25=w_res_2=w_26=None
- v27=w_w_4=w_v_4=w_13=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
@@ -3493,430 +3436,224 @@
w_3 = space.is_(w_coerced, space.w_None)
v4 = space.is_true(w_3)
if v4 == True:
- w_w, w_v = w_other, w_self
- goto = 6
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
else:
assert v4 == False
- w_coerced_1 = w_coerced
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
goto = 2
if goto == 2:
- w_v_1 = space.getitem(w_coerced_1, gi_0)
- w_w_1 = space.getitem(w_coerced_1, gi_1)
- w_7 = space.isinstance(w_v_1, gcls_instance)
- v8 = space.is_true(w_7)
- if v8 == True:
- w_w_2, w_v_2, w_9 = w_w_1, w_v_1, space.w_False
- goto = 4
- else:
- assert v8 == False
- w_v_3, w_w_3 = w_v_1, w_w_1
- goto = 3
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
if goto == 3:
- w_10 = space.isinstance(w_w_3, gcls_instance)
- v11 = space.is_true(w_10)
- if v11 == True:
- w_w_2, w_v_2, w_9 = w_w_3, w_v_3, space.w_False
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
goto = 4
else:
- assert v11 == False
- w_w_2, w_v_2, w_9 = w_w_3, w_v_3, space.w_True
- goto = 4
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
if goto == 4:
- v12 = space.is_true(w_9)
- if v12 == True:
- w_w_4, w_v_4 = w_w_2, w_v_2
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___div__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
goto = 5
else:
- assert v12 == False
- w_w, w_v = w_w_2, w_v_2
- goto = 6
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
if goto == 5:
- w_13 = space.cmp(w_v_4, w_w_4)
- w_14 = w_13
- goto = 17
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
if goto == 6:
- w_15 = space.isinstance(w_v, gcls_instance)
- v16 = space.is_true(w_15)
- if v16 == True:
- w_w_5, w_v_5 = w_w, w_v
- goto = 7
- else:
- assert v16 == False
- w_w_6, w_v_6 = w_w, w_v
- goto = 11
-
- if goto == 7:
- w_func = space.call_function(gfunc_instance_getattr1, w_v_5, gs___cmp__, space.w_False)
- v18 = space.is_true(w_func)
- if v18 == True:
- w_w_7, w_func_1 = w_w_5, w_func
- goto = 8
- else:
- assert v18 == False
- w_w_6, w_v_6 = w_w_5, w_v_5
- goto = 11
+ w_13 = space.div(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
- if goto == 8:
- w_res = space.call_function(w_func_1, w_w_7)
- w_20 = space.isinstance(w_res, space.w_int)
- v21 = space.is_true(w_20)
- if v21 == True:
- w_res_1 = w_res
- goto = 9
- else:
- assert v21 == False
- w_etype, w_evalue = space.w_TypeError, gs___cmp___must_return_int
- goto = 16
+ if goto == 7:
+ return w_11
- if goto == 9:
- w_24 = space.gt(w_res_1, gi_0)
- v25 = space.is_true(w_24)
- if v25 == True:
- w_14 = gi_1
- goto = 17
- else:
- assert v25 == False
- w_res_2 = w_res_1
- goto = 10
+fastf_instance___div__ = __div__
- if goto == 10:
- w_26 = space.lt(w_res_2, gi_0)
- v27 = space.is_true(w_26)
- if v27 == True:
- w_14 = gi_minus_1
- goto = 17
- else:
- assert v27 == False
- w_14 = gi_0
- goto = 17
+##SECTION##
+## filename '_classobj.py'
+## function '__divmod__'
+## firstlineno 404
+##SECTION##
+def __divmod__(space, __args__):
+ funcname = "__divmod__"
+ signature = ['self', 'other'], None, None
+ defaults_w = []
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___divmod__(space, w_self, w_other)
- if goto == 11:
- w_28 = space.isinstance(w_w_6, gcls_instance)
- v29 = space.is_true(w_28)
- if v29 == True:
- w_v_7 = w_v_6
- goto = 12
- else:
- assert v29 == False
- w_14 = space.w_NotImplemented
- goto = 17
+f_instance___divmod__ = __divmod__
- if goto == 12:
- w_func_2 = space.call_function(gfunc_instance_getattr1, w_v_7, gs___cmp__, space.w_False)
- v30 = space.is_true(w_func_2)
- if v30 == True:
- w_v_8, w_func_3 = w_v_7, w_func_2
- goto = 13
- else:
- assert v30 == False
- w_14 = space.w_NotImplemented
- goto = 17
+def __divmod__(space, w_self, w_other):
- if goto == 13:
- w_res_3 = space.call_function(w_func_3, w_v_8)
- w_31 = space.isinstance(w_res_3, space.w_int)
- v32 = space.is_true(w_31)
- if v32 == True:
- w_res_4 = w_res_3
- goto = 14
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
+
+ goto = 1 # startblock
+ while True:
+
+ if goto == 1:
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
else:
- assert v32 == False
- w_etype, w_evalue = space.w_TypeError, gs___cmp___must_return_int
- goto = 16
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
- if goto == 14:
- w_33 = space.gt(w_res_4, gi_0)
- v34 = space.is_true(w_33)
- if v34 == True:
- w_14 = gi_1
- goto = 17
+ if goto == 2:
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
+
+ if goto == 3:
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
else:
- assert v34 == False
- w_res_5 = w_res_4
- goto = 15
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
- if goto == 15:
- w_35 = space.lt(w_res_5, gi_0)
- v36 = space.is_true(w_35)
- if v36 == True:
- w_14 = gi_minus_1
- goto = 17
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___divmod__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
else:
- assert v36 == False
- w_14 = gi_0
- goto = 17
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
- if goto == 16:
- raise OperationError(w_etype, w_evalue)
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
- if goto == 17:
- return w_14
+ if goto == 6:
+ w_13 = space.divmod(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
-fastf_instance___cmp__ = __cmp__
+ if goto == 7:
+ return w_11
+
+fastf_instance___divmod__ = __divmod__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/lib/_classobj.py'
-## function 'purify'
-## firstlineno 571
+## filename '_classobj.py'
+## function '__floordiv__'
+## firstlineno 404
##SECTION##
-# global declarations
-# global object g3tuple
-# global object gcls_classobj
-# global object gs___module__
-# global object gs__classobj
-# global object gs___new__
-# global object gsm___new__
-# global object gfunc___new__
-# global object gs___slots__
-# global object g3tuple_1
-# global object gs__name
-# global object gs__bases
-# global object gs___dict__
-# global object gs_classobj
-# global object gcls_instance
-# global object gsm___new___1
-# global object gfunc___new___1
-# global object g2tuple
-# global object gs__class
-# global object gs_instance
-# global object gfunc_purify
-
-def purify(space, __args__):
- funcname = "purify"
- signature = [], None, None
+def __floordiv__(space, __args__):
+ funcname = "__floordiv__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- __args__.parse(funcname, signature, defaults_w)
- return fastf_purify(space)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___floordiv__(space, w_self, w_other)
-f_purify = purify
+f_instance___floordiv__ = __floordiv__
-def purify(space):
+def __floordiv__(space, w_self, w_other):
- w_0=w_1=w_2=w_3=w_4=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.delattr(gcls_classobj, gs__name)
- w_1 = space.delattr(gcls_classobj, gs__bases)
- w_2 = space.delattr(gcls_classobj, gs___slots__)
- w_3 = space.delattr(gcls_instance, gs__class)
- w_4 = space.delattr(gcls_instance, gs___slots__)
- w_5 = space.w_None
- goto = 2
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- return w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
-fastf_purify = purify
+ if goto == 3:
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-# global declarations
-# global object gs___abs__
-# global object gfunc_instance___abs__
-# global object gs___add__
-# global object gfunc_instance___add__
-# global object gs___and__
-# global object gfunc_instance___and__
-# global object gs___call__
-# global object gfunc_instance___call__
-# global object gs___cmp__
-# global object gfunc_instance___cmp__
-# global object gs___coerce__
-# global object gfunc_instance___coerce__
-# global object gs___contains__
-# global object gfunc_instance___contains__
-# global object gs___delattr__
-# global object gfunc_instance___delattr__
-# global object gs___delitem__
-# global object gfunc_instance___delitem__
-# global object gs___div__
-# global object gfunc_instance___div__
-# global object gs___divmod__
-# global object gfunc_instance___divmod__
-# global object gs___eq__
-# global object gfunc_instance___eq__
-# global object gs___float__
-# global object gfunc_instance___float__
-# global object gs___floordiv__
-# global object gfunc_instance___floordiv__
-# global object gs___ge__
-# global object gfunc_instance___ge__
-# global object gs___getattribute__
-# global object gfunc_instance___getattribute__
-# global object gs___getitem__
-# global object gfunc_instance___getitem__
-# global object gs___gt__
-# global object gfunc_instance___gt__
-# global object gs___hash__
-# global object gfunc_instance___hash__
-# global object gs___hex__
-# global object gfunc_instance___hex__
-# global object gs___iadd__
-# global object gfunc_instance___iadd__
-# global object gs___iand__
-# global object gfunc_instance___iand__
-# global object gs___idiv__
-# global object gfunc_instance___idiv__
-# global object gs___ifloordiv__
-# global object gfunc_instance___ifloordiv__
-# global object gs___ilshift__
-# global object gfunc_instance___ilshift__
-# global object gs___imod__
-# global object gfunc_instance___imod__
-# global object gs___imul__
-# global object gfunc_instance___imul__
-# global object gs___int__
-# global object gfunc_instance___int__
-# global object gs___invert__
-# global object gfunc_instance___invert__
-# global object gs___ior__
-# global object gfunc_instance___ior__
-# global object gs___ipow__
-# global object gfunc_instance___ipow__
-# global object gs___irshift__
-# global object gfunc_instance___irshift__
-# global object gs___isub__
-# global object gfunc_instance___isub__
-# global object gs___iter__
-# global object gfunc_instance___iter__
-# global object gs___itruediv__
-# global object gfunc_instance___itruediv__
-# global object gs___ixor__
-# global object gfunc_instance___ixor__
-# global object gs___le__
-# global object gfunc_instance___le__
-# global object gs___len__
-# global object gfunc_instance___len__
-# global object gs___long__
-# global object gfunc_instance___long__
-# global object gs___lshift__
-# global object gfunc_instance___lshift__
-# global object gs___lt__
-# global object gfunc_instance___lt__
-# global object gs___mod__
-# global object gfunc_instance___mod__
-# global object gs___mul__
-# global object gfunc_instance___mul__
-# global object gs___ne__
-# global object gfunc_instance___ne__
-# global object gs___neg__
-# global object gfunc_instance___neg__
-# global object gs___nonzero__
-# global object gfunc_instance___nonzero__
-# global object gs___oct__
-# global object gfunc_instance___oct__
-# global object gs___or__
-# global object gfunc_instance___or__
-# global object gs___pos__
-# global object gfunc_instance___pos__
-# global object gs___pow__
-# global object gfunc_instance___pow__
-# global object gs___radd__
-# global object gfunc_instance___radd__
-# global object gs___rand__
-# global object gfunc_instance___rand__
-# global object gs___rdiv__
-# global object gfunc_instance___rdiv__
-# global object gs___rdivmod__
-# global object gfunc_instance___rdivmod__
-# global object gs___repr__
-# global object gfunc_instance___repr__
-# global object gs___rfloordiv__
-# global object gfunc_instance___rfloordiv__
-# global object gs___rlshift__
-# global object gfunc_instance___rlshift__
-# global object gs___rmod__
-# global object gfunc_instance___rmod__
-# global object gs___rmul__
-# global object gfunc_instance___rmul__
-# global object gs___ror__
-# global object gfunc_instance___ror__
-# global object gs___rpow__
-# global object gfunc_instance___rpow__
-# global object gs___rrshift__
-# global object gfunc_instance___rrshift__
-# global object gs___rshift__
-# global object gfunc_instance___rshift__
-# global object gs___rsub__
-# global object gfunc_instance___rsub__
-# global object gs___rtruediv__
-# global object gfunc_instance___rtruediv__
-# global object gs___rxor__
-# global object gfunc_instance___rxor__
-# global object gs___setattr__
-# global object gfunc_instance___setattr__
-# global object gs___setitem__
-# global object gfunc_instance___setitem__
-# global object gs___str__
-# global object gfunc_instance___str__
-# global object gs___sub__
-# global object gfunc_instance___sub__
-# global object gs___truediv__
-# global object gfunc_instance___truediv__
-# global object gs___xor__
-# global object gfunc_instance___xor__
-# global object gs_next
-# global object gfunc_instance_next
-# global object gfunc_classobj___call__
-# global object gfunc_classobj___delattr__
-# global object gfunc_classobj___getattribute__
-# global object gfunc_classobj___repr__
-# global object gfunc_classobj___setattr__
-# global object gfunc_classobj___str__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__abs__'
-## firstlineno 4
-##SECTION##
-def __abs__(space, __args__):
- funcname = "__abs__"
- signature = ['self'], None, None
- defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___abs__(space, w_self)
-
-f_instance___abs__ = __abs__
-
-def __abs__(space, w_self):
-
- w_0=w_2=w_3=None
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___floordiv__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
- goto = 1 # startblock
- while True:
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
- if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___abs__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ if goto == 6:
+ w_13 = space.floordiv(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
- if goto == 2:
- return w_3
+ if goto == 7:
+ return w_11
-fastf_instance___abs__ = __abs__
+fastf_instance___floordiv__ = __floordiv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__add__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__lshift__'
+## firstlineno 404
##SECTION##
-def __add__(space, __args__):
- funcname = "__add__"
+def __lshift__(space, __args__):
+ funcname = "__lshift__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___add__(space, w_self, w_other)
+ return fastf_instance___lshift__(space, w_self, w_other)
-f_instance___add__ = __add__
+f_instance___lshift__ = __lshift__
-def __add__(space, w_self, w_other):
+def __lshift__(space, w_self, w_other):
w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
@@ -3954,7 +3691,7 @@
goto = 6
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___add__, space.w_False)
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___lshift__, space.w_False)
v10 = space.is_true(w_func)
if v10 == True:
w_other_5, w_func_1 = w_other_3, w_func
@@ -3970,30 +3707,30 @@
goto = 7
if goto == 6:
- w_13 = space.add(w_self_4, w_other_4)
+ w_13 = space.lshift(w_self_4, w_other_4)
w_11 = w_13
goto = 7
if goto == 7:
return w_11
-fastf_instance___add__ = __add__
+fastf_instance___lshift__ = __lshift__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__and__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__mod__'
+## firstlineno 404
##SECTION##
-def __and__(space, __args__):
- funcname = "__and__"
+def __mod__(space, __args__):
+ funcname = "__mod__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___and__(space, w_self, w_other)
+ return fastf_instance___mod__(space, w_self, w_other)
-f_instance___and__ = __and__
+f_instance___mod__ = __mod__
-def __and__(space, w_self, w_other):
+def __mod__(space, w_self, w_other):
w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
@@ -4031,7 +3768,7 @@
goto = 6
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___and__, space.w_False)
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___mod__, space.w_False)
v10 = space.is_true(w_func)
if v10 == True:
w_other_5, w_func_1 = w_other_3, w_func
@@ -4047,30 +3784,30 @@
goto = 7
if goto == 6:
- w_13 = space.and_(w_self_4, w_other_4)
+ w_13 = space.mod(w_self_4, w_other_4)
w_11 = w_13
goto = 7
if goto == 7:
return w_11
-fastf_instance___and__ = __and__
+fastf_instance___mod__ = __mod__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__div__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__mul__'
+## firstlineno 404
##SECTION##
-def __div__(space, __args__):
- funcname = "__div__"
+def __mul__(space, __args__):
+ funcname = "__mul__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___div__(space, w_self, w_other)
+ return fastf_instance___mul__(space, w_self, w_other)
-f_instance___div__ = __div__
+f_instance___mul__ = __mul__
-def __div__(space, w_self, w_other):
+def __mul__(space, w_self, w_other):
w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
@@ -4108,7 +3845,7 @@
goto = 6
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___div__, space.w_False)
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___mul__, space.w_False)
v10 = space.is_true(w_func)
if v10 == True:
w_other_5, w_func_1 = w_other_3, w_func
@@ -4124,30 +3861,30 @@
goto = 7
if goto == 6:
- w_13 = space.div(w_self_4, w_other_4)
+ w_13 = space.mul(w_self_4, w_other_4)
w_11 = w_13
goto = 7
if goto == 7:
return w_11
-fastf_instance___div__ = __div__
+fastf_instance___mul__ = __mul__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__divmod__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__or__'
+## firstlineno 404
##SECTION##
-def __divmod__(space, __args__):
- funcname = "__divmod__"
+def __or__(space, __args__):
+ funcname = "__or__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___divmod__(space, w_self, w_other)
+ return fastf_instance___or__(space, w_self, w_other)
-f_instance___divmod__ = __divmod__
+f_instance___or__ = __or__
-def __divmod__(space, w_self, w_other):
+def __or__(space, w_self, w_other):
w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
@@ -4185,7 +3922,7 @@
goto = 6
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___divmod__, space.w_False)
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___or__, space.w_False)
v10 = space.is_true(w_func)
if v10 == True:
w_other_5, w_func_1 = w_other_3, w_func
@@ -4201,137 +3938,107 @@
goto = 7
if goto == 6:
- w_13 = space.divmod(w_self_4, w_other_4)
+ w_13 = space.or_(w_self_4, w_other_4)
w_11 = w_13
goto = 7
if goto == 7:
return w_11
-fastf_instance___divmod__ = __divmod__
+fastf_instance___or__ = __or__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__eq__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rshift__'
+## firstlineno 404
##SECTION##
-def __eq__(space, __args__):
- funcname = "__eq__"
+def __rshift__(space, __args__):
+ funcname = "__rshift__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___eq__(space, w_self, w_other)
+ return fastf_instance___rshift__(space, w_self, w_other)
-f_instance___eq__ = __eq__
+f_instance___rshift__ = __rshift__
-def __eq__(space, w_self, w_other):
+def __rshift__(space, w_self, w_other):
- w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
- w_9=v11=w_etype=w_evalue=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- try:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___eq__)
- w_other_1, w_3 = w_other, w_0
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
goto = 2
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
if goto == 2:
- try:
- w_7 = space.call_function(w_3, w_other_1)
- w_8 = w_7
- goto = 6
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
if goto == 3:
- w_9 = space.issubtype(w_10, space.w_AttributeError)
- v11 = space.is_true(w_9)
- if v11 == True:
- w_8 = space.w_NotImplemented
- goto = 6
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
else:
- assert v11 == False
- w_etype, w_evalue = w_12, w_14
- goto = 5
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
if goto == 4:
- w_16 = space.is_(w_6, space.w_AttributeError)
- v17 = space.is_true(w_16)
- if v17 == True:
- w_8 = space.w_NotImplemented
- goto = 6
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rshift__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
else:
- assert v17 == False
- w_12, w_14, w_10 = w_4, w_5, w_6
- goto = 3
- continue
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
if goto == 5:
- raise OperationError(w_etype, w_evalue)
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
if goto == 6:
- return w_8
-
-fastf_instance___eq__ = __eq__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__float__'
-## firstlineno 4
-##SECTION##
-def __float__(space, __args__):
- funcname = "__float__"
- signature = ['self'], None, None
- defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___float__(space, w_self)
-
-f_instance___float__ = __float__
-
-def __float__(space, w_self):
-
- w_0=w_2=w_3=None
-
- goto = 1 # startblock
- while True:
-
- if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___float__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ w_13 = space.rshift(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
- if goto == 2:
- return w_3
+ if goto == 7:
+ return w_11
-fastf_instance___float__ = __float__
+fastf_instance___rshift__ = __rshift__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__floordiv__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__sub__'
+## firstlineno 404
##SECTION##
-def __floordiv__(space, __args__):
- funcname = "__floordiv__"
+def __sub__(space, __args__):
+ funcname = "__sub__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___floordiv__(space, w_self, w_other)
+ return fastf_instance___sub__(space, w_self, w_other)
-f_instance___floordiv__ = __floordiv__
+f_instance___sub__ = __sub__
-def __floordiv__(space, w_self, w_other):
+def __sub__(space, w_self, w_other):
w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
@@ -4369,7 +4076,7 @@
goto = 6
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___floordiv__, space.w_False)
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___sub__, space.w_False)
v10 = space.is_true(w_func)
if v10 == True:
w_other_5, w_func_1 = w_other_3, w_func
@@ -4385,929 +4092,1111 @@
goto = 7
if goto == 6:
- w_13 = space.floordiv(w_self_4, w_other_4)
+ w_13 = space.sub(w_self_4, w_other_4)
w_11 = w_13
goto = 7
if goto == 7:
return w_11
-fastf_instance___floordiv__ = __floordiv__
+fastf_instance___sub__ = __sub__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ge__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__truediv__'
+## firstlineno 404
##SECTION##
-def __ge__(space, __args__):
- funcname = "__ge__"
+def __truediv__(space, __args__):
+ funcname = "__truediv__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ge__(space, w_self, w_other)
+ return fastf_instance___truediv__(space, w_self, w_other)
-f_instance___ge__ = __ge__
+f_instance___truediv__ = __truediv__
-def __ge__(space, w_self, w_other):
+def __truediv__(space, w_self, w_other):
- w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
- w_9=v11=w_etype=w_evalue=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- try:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___ge__)
- w_other_1, w_3 = w_other, w_0
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
goto = 2
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
if goto == 2:
- try:
- w_7 = space.call_function(w_3, w_other_1)
- w_8 = w_7
- goto = 6
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
if goto == 3:
- w_9 = space.issubtype(w_10, space.w_AttributeError)
- v11 = space.is_true(w_9)
- if v11 == True:
- w_8 = space.w_NotImplemented
- goto = 6
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
else:
- assert v11 == False
- w_etype, w_evalue = w_12, w_14
- goto = 5
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
if goto == 4:
- w_16 = space.is_(w_6, space.w_AttributeError)
- v17 = space.is_true(w_16)
- if v17 == True:
- w_8 = space.w_NotImplemented
- goto = 6
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___truediv__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
else:
- assert v17 == False
- w_12, w_14, w_10 = w_4, w_5, w_6
- goto = 3
- continue
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
if goto == 5:
- raise OperationError(w_etype, w_evalue)
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
if goto == 6:
- return w_8
+ w_13 = space.truediv(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
-fastf_instance___ge__ = __ge__
+ if goto == 7:
+ return w_11
+
+fastf_instance___truediv__ = __truediv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__gt__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__xor__'
+## firstlineno 404
##SECTION##
-def __gt__(space, __args__):
- funcname = "__gt__"
+# global declaration
+# global object gfunc__coerce
+
+def __xor__(space, __args__):
+ funcname = "__xor__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___gt__(space, w_self, w_other)
+ return fastf_instance___xor__(space, w_self, w_other)
-f_instance___gt__ = __gt__
+f_instance___xor__ = __xor__
-def __gt__(space, w_self, w_other):
+def __xor__(space, w_self, w_other):
- w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
- w_9=v11=w_etype=w_evalue=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- try:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___gt__)
- w_other_1, w_3 = w_other, w_0
- goto = 2
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- try:
- w_7 = space.call_function(w_3, w_other_1)
- w_8 = w_7
- goto = 6
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
if goto == 3:
- w_9 = space.issubtype(w_10, space.w_AttributeError)
- v11 = space.is_true(w_9)
- if v11 == True:
- w_8 = space.w_NotImplemented
- goto = 6
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
else:
- assert v11 == False
- w_etype, w_evalue = w_12, w_14
- goto = 5
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
if goto == 4:
- w_16 = space.is_(w_6, space.w_AttributeError)
- v17 = space.is_true(w_16)
- if v17 == True:
- w_8 = space.w_NotImplemented
- goto = 6
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___xor__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
else:
- assert v17 == False
- w_12, w_14, w_10 = w_4, w_5, w_6
- goto = 3
- continue
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
if goto == 5:
- raise OperationError(w_etype, w_evalue)
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
if goto == 6:
- return w_8
+ w_13 = space.xor(w_self_4, w_other_4)
+ w_11 = w_13
+ goto = 7
-fastf_instance___gt__ = __gt__
+ if goto == 7:
+ return w_11
+
+fastf_instance___xor__ = __xor__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__hex__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__radd__'
+## firstlineno 414
##SECTION##
-def __hex__(space, __args__):
- funcname = "__hex__"
- signature = ['self'], None, None
+def __radd__(space, __args__):
+ funcname = "__radd__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___hex__(space, w_self)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___radd__(space, w_self, w_other)
-f_instance___hex__ = __hex__
+f_instance___radd__ = __radd__
-def __hex__(space, w_self):
+def __radd__(space, w_self, w_other):
- w_0=w_2=w_3=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___hex__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- return w_3
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
-fastf_instance___hex__ = __hex__
+ if goto == 3:
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
+
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___radd__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.add(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___radd__ = __radd__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__iadd__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rand__'
+## firstlineno 414
##SECTION##
-def __iadd__(space, __args__):
- funcname = "__iadd__"
+def __rand__(space, __args__):
+ funcname = "__rand__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___iadd__(space, w_self, w_other)
+ return fastf_instance___rand__(space, w_self, w_other)
-f_instance___iadd__ = __iadd__
+f_instance___rand__ = __rand__
-def __iadd__(space, w_self, w_other):
+def __rand__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___iadd__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___iadd__ = __iadd__
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rand__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.and_(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___rand__ = __rand__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__iand__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rdiv__'
+## firstlineno 414
##SECTION##
-def __iand__(space, __args__):
- funcname = "__iand__"
+def __rdiv__(space, __args__):
+ funcname = "__rdiv__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___iand__(space, w_self, w_other)
+ return fastf_instance___rdiv__(space, w_self, w_other)
-f_instance___iand__ = __iand__
+f_instance___rdiv__ = __rdiv__
-def __iand__(space, w_self, w_other):
+def __rdiv__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___iand__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
-
-fastf_instance___iand__ = __iand__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__idiv__'
-## firstlineno 4
-##SECTION##
-def __idiv__(space, __args__):
- funcname = "__idiv__"
- signature = ['self', 'other'], None, None
- defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___idiv__(space, w_self, w_other)
-
-f_instance___idiv__ = __idiv__
-
-def __idiv__(space, w_self, w_other):
-
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
-
- goto = 1 # startblock
- while True:
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
- if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___idiv__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rdiv__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
else:
- assert v2 == False
- w_4 = space.w_NotImplemented
- goto = 3
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
- if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
- goto = 3
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
- if goto == 3:
- return w_4
+ if goto == 6:
+ w_13 = space.div(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
-fastf_instance___idiv__ = __idiv__
+ if goto == 7:
+ return w_11
+
+fastf_instance___rdiv__ = __rdiv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ifloordiv__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rdivmod__'
+## firstlineno 414
##SECTION##
-def __ifloordiv__(space, __args__):
- funcname = "__ifloordiv__"
+def __rdivmod__(space, __args__):
+ funcname = "__rdivmod__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ifloordiv__(space, w_self, w_other)
+ return fastf_instance___rdivmod__(space, w_self, w_other)
-f_instance___ifloordiv__ = __ifloordiv__
+f_instance___rdivmod__ = __rdivmod__
-def __ifloordiv__(space, w_self, w_other):
+def __rdivmod__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ifloordiv__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___ifloordiv__ = __ifloordiv__
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rdivmod__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.divmod(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___rdivmod__ = __rdivmod__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ilshift__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rfloordiv__'
+## firstlineno 414
##SECTION##
-def __ilshift__(space, __args__):
- funcname = "__ilshift__"
+def __rfloordiv__(space, __args__):
+ funcname = "__rfloordiv__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ilshift__(space, w_self, w_other)
+ return fastf_instance___rfloordiv__(space, w_self, w_other)
-f_instance___ilshift__ = __ilshift__
+f_instance___rfloordiv__ = __rfloordiv__
-def __ilshift__(space, w_self, w_other):
+def __rfloordiv__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ilshift__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___ilshift__ = __ilshift__
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rfloordiv__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.floordiv(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___rfloordiv__ = __rfloordiv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__imod__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rlshift__'
+## firstlineno 414
##SECTION##
-def __imod__(space, __args__):
- funcname = "__imod__"
+def __rlshift__(space, __args__):
+ funcname = "__rlshift__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___imod__(space, w_self, w_other)
+ return fastf_instance___rlshift__(space, w_self, w_other)
-f_instance___imod__ = __imod__
+f_instance___rlshift__ = __rlshift__
-def __imod__(space, w_self, w_other):
+def __rlshift__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___imod__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
-
-fastf_instance___imod__ = __imod__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__imul__'
-## firstlineno 4
-##SECTION##
-def __imul__(space, __args__):
- funcname = "__imul__"
- signature = ['self', 'other'], None, None
- defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___imul__(space, w_self, w_other)
-
-f_instance___imul__ = __imul__
-
-def __imul__(space, w_self, w_other):
-
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
-
- goto = 1 # startblock
- while True:
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
- if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___imul__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rlshift__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
else:
- assert v2 == False
- w_4 = space.w_NotImplemented
- goto = 3
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
- if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
- goto = 3
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
- if goto == 3:
- return w_4
+ if goto == 6:
+ w_13 = space.lshift(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
-fastf_instance___imul__ = __imul__
+ if goto == 7:
+ return w_11
+
+fastf_instance___rlshift__ = __rlshift__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__int__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rmod__'
+## firstlineno 414
##SECTION##
-def __int__(space, __args__):
- funcname = "__int__"
- signature = ['self'], None, None
+def __rmod__(space, __args__):
+ funcname = "__rmod__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___int__(space, w_self)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___rmod__(space, w_self, w_other)
-f_instance___int__ = __int__
+f_instance___rmod__ = __rmod__
-def __int__(space, w_self):
+def __rmod__(space, w_self, w_other):
- w_0=w_2=w_3=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___int__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- return w_3
-
-fastf_instance___int__ = __int__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__invert__'
-## firstlineno 4
-##SECTION##
-def __invert__(space, __args__):
- funcname = "__invert__"
- signature = ['self'], None, None
- defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___invert__(space, w_self)
-
-f_instance___invert__ = __invert__
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ goto = 3
-def __invert__(space, w_self):
+ if goto == 3:
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
- w_0=w_2=w_3=None
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rmod__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
- goto = 1 # startblock
- while True:
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
- if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___invert__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ if goto == 6:
+ w_13 = space.mod(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
- if goto == 2:
- return w_3
+ if goto == 7:
+ return w_11
-fastf_instance___invert__ = __invert__
+fastf_instance___rmod__ = __rmod__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ior__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rmul__'
+## firstlineno 414
##SECTION##
-def __ior__(space, __args__):
- funcname = "__ior__"
+def __rmul__(space, __args__):
+ funcname = "__rmul__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ior__(space, w_self, w_other)
+ return fastf_instance___rmul__(space, w_self, w_other)
-f_instance___ior__ = __ior__
+f_instance___rmul__ = __rmul__
-def __ior__(space, w_self, w_other):
+def __rmul__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ior__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___ior__ = __ior__
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rmul__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.mul(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___rmul__ = __rmul__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ipow__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__ror__'
+## firstlineno 414
##SECTION##
-def __ipow__(space, __args__):
- funcname = "__ipow__"
+def __ror__(space, __args__):
+ funcname = "__ror__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ipow__(space, w_self, w_other)
+ return fastf_instance___ror__(space, w_self, w_other)
-f_instance___ipow__ = __ipow__
+f_instance___ror__ = __ror__
-def __ipow__(space, w_self, w_other):
+def __ror__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ipow__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ goto = 3
else:
- assert v2 == False
- w_4 = space.w_NotImplemented
- goto = 3
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___ipow__ = __ipow__
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___ror__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.or_(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___ror__ = __ror__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__irshift__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rrshift__'
+## firstlineno 414
##SECTION##
-def __irshift__(space, __args__):
- funcname = "__irshift__"
+def __rrshift__(space, __args__):
+ funcname = "__rrshift__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___irshift__(space, w_self, w_other)
+ return fastf_instance___rrshift__(space, w_self, w_other)
-f_instance___irshift__ = __irshift__
+f_instance___rrshift__ = __rrshift__
-def __irshift__(space, w_self, w_other):
+def __rrshift__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___irshift__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___irshift__ = __irshift__
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rrshift__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.rshift(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___rrshift__ = __rrshift__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__isub__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rsub__'
+## firstlineno 414
##SECTION##
-def __isub__(space, __args__):
- funcname = "__isub__"
+def __rsub__(space, __args__):
+ funcname = "__rsub__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___isub__(space, w_self, w_other)
+ return fastf_instance___rsub__(space, w_self, w_other)
-f_instance___isub__ = __isub__
+f_instance___rsub__ = __rsub__
-def __isub__(space, w_self, w_other):
+def __rsub__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___isub__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___isub__ = __isub__
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rsub__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
+
+ if goto == 5:
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
+
+ if goto == 6:
+ w_13 = space.sub(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
+
+ if goto == 7:
+ return w_11
+
+fastf_instance___rsub__ = __rsub__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__itruediv__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rtruediv__'
+## firstlineno 414
##SECTION##
-def __itruediv__(space, __args__):
- funcname = "__itruediv__"
+def __rtruediv__(space, __args__):
+ funcname = "__rtruediv__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___itruediv__(space, w_self, w_other)
+ return fastf_instance___rtruediv__(space, w_self, w_other)
-f_instance___itruediv__ = __itruediv__
+f_instance___rtruediv__ = __rtruediv__
-def __itruediv__(space, w_self, w_other):
+def __rtruediv__(space, w_self, w_other):
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
+ w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
+ w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
+ w_func=v10=w_other_5=w_func_1=w_12=None
goto = 1 # startblock
while True:
if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___itruediv__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
+ w_coerced = fastf__coerce(space, w_self, w_other)
+ w_3 = space.is_(w_coerced, space.w_None)
+ v4 = space.is_true(w_3)
+ if v4 == True:
+ w_self_1, w_other_1, w_5 = w_self, w_other, w_3
goto = 3
+ else:
+ assert v4 == False
+ w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ goto = 2
if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
+ w_6 = space.getitem(w_coerced_1, gi_0)
+ w_7 = space.is_(w_6, w_self_2)
+ w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
goto = 3
if goto == 3:
- return w_4
+ v8 = space.is_true(w_5)
+ if v8 == True:
+ w_self_3, w_other_3 = w_self_1, w_other_1
+ goto = 4
+ else:
+ assert v8 == False
+ w_self_4, w_other_4 = w_self_1, w_other_1
+ goto = 6
-fastf_instance___itruediv__ = __itruediv__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ixor__'
-## firstlineno 4
-##SECTION##
-def __ixor__(space, __args__):
- funcname = "__ixor__"
- signature = ['self', 'other'], None, None
- defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ixor__(space, w_self, w_other)
-
-f_instance___ixor__ = __ixor__
-
-def __ixor__(space, w_self, w_other):
-
- w_func=v2=w_4=w_other_1=w_func_1=w_5=None
-
- goto = 1 # startblock
- while True:
-
- if goto == 1:
- w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ixor__, space.w_False)
- v2 = space.is_true(w_func)
- if v2 == True:
- w_other_1, w_func_1 = w_other, w_func
- goto = 2
- else:
- assert v2 == False
- w_4 = space.w_NotImplemented
- goto = 3
-
- if goto == 2:
- w_5 = space.call_function(w_func_1, w_other_1)
- w_4 = w_5
- goto = 3
-
- if goto == 3:
- return w_4
-
-fastf_instance___ixor__ = __ixor__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__le__'
-## firstlineno 4
-##SECTION##
-def __le__(space, __args__):
- funcname = "__le__"
- signature = ['self', 'other'], None, None
- defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___le__(space, w_self, w_other)
-
-f_instance___le__ = __le__
-
-def __le__(space, w_self, w_other):
-
- w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
- w_9=v11=w_etype=w_evalue=None
-
- goto = 1 # startblock
- while True:
-
- if goto == 1:
- try:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___le__)
- w_other_1, w_3 = w_other, w_0
- goto = 2
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
-
- if goto == 2:
- try:
- w_7 = space.call_function(w_3, w_other_1)
- w_8 = w_7
- goto = 6
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
-
- if goto == 3:
- w_9 = space.issubtype(w_10, space.w_AttributeError)
- v11 = space.is_true(w_9)
- if v11 == True:
- w_8 = space.w_NotImplemented
- goto = 6
- else:
- assert v11 == False
- w_etype, w_evalue = w_12, w_14
- goto = 5
-
- if goto == 4:
- w_16 = space.is_(w_6, space.w_AttributeError)
- v17 = space.is_true(w_16)
- if v17 == True:
- w_8 = space.w_NotImplemented
- goto = 6
- else:
- assert v17 == False
- w_12, w_14, w_10 = w_4, w_5, w_6
- goto = 3
- continue
+ if goto == 4:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rtruediv__, space.w_False)
+ v10 = space.is_true(w_func)
+ if v10 == True:
+ w_other_5, w_func_1 = w_other_3, w_func
+ goto = 5
+ else:
+ assert v10 == False
+ w_11 = space.w_NotImplemented
+ goto = 7
if goto == 5:
- raise OperationError(w_etype, w_evalue)
+ w_12 = space.call_function(w_func_1, w_other_5)
+ w_11 = w_12
+ goto = 7
if goto == 6:
- return w_8
-
-fastf_instance___le__ = __le__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__long__'
-## firstlineno 4
-##SECTION##
-def __long__(space, __args__):
- funcname = "__long__"
- signature = ['self'], None, None
- defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___long__(space, w_self)
-
-f_instance___long__ = __long__
-
-def __long__(space, w_self):
-
- w_0=w_2=w_3=None
-
- goto = 1 # startblock
- while True:
-
- if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___long__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ w_13 = space.truediv(w_other_4, w_self_4)
+ w_11 = w_13
+ goto = 7
- if goto == 2:
- return w_3
+ if goto == 7:
+ return w_11
-fastf_instance___long__ = __long__
+fastf_instance___rtruediv__ = __rtruediv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__lshift__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__rxor__'
+## firstlineno 414
##SECTION##
-def __lshift__(space, __args__):
- funcname = "__lshift__"
+def __rxor__(space, __args__):
+ funcname = "__rxor__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___lshift__(space, w_self, w_other)
+ return fastf_instance___rxor__(space, w_self, w_other)
-f_instance___lshift__ = __lshift__
+f_instance___rxor__ = __rxor__
-def __lshift__(space, w_self, w_other):
+def __rxor__(space, w_self, w_other):
w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
@@ -5345,7 +5234,7 @@
goto = 6
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___lshift__, space.w_False)
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rxor__, space.w_False)
v10 = space.is_true(w_func)
if v10 == True:
w_other_5, w_func_1 = w_other_3, w_func
@@ -5361,1746 +5250,1528 @@
goto = 7
if goto == 6:
- w_13 = space.lshift(w_self_4, w_other_4)
+ w_13 = space.xor(w_other_4, w_self_4)
w_11 = w_13
goto = 7
if goto == 7:
return w_11
-fastf_instance___lshift__ = __lshift__
+fastf_instance___rxor__ = __rxor__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__lt__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__iadd__'
+## firstlineno 432
##SECTION##
-def __lt__(space, __args__):
- funcname = "__lt__"
+def __iadd__(space, __args__):
+ funcname = "__iadd__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___lt__(space, w_self, w_other)
+ return fastf_instance___iadd__(space, w_self, w_other)
-f_instance___lt__ = __lt__
+f_instance___iadd__ = __iadd__
-def __lt__(space, w_self, w_other):
+def __iadd__(space, w_self, w_other):
- w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
- w_9=v11=w_etype=w_evalue=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- try:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___lt__)
- w_other_1, w_3 = w_other, w_0
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___iadd__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
-
- if goto == 2:
- try:
- w_7 = space.call_function(w_3, w_other_1)
- w_8 = w_7
- goto = 6
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
-
- if goto == 3:
- w_9 = space.issubtype(w_10, space.w_AttributeError)
- v11 = space.is_true(w_9)
- if v11 == True:
- w_8 = space.w_NotImplemented
- goto = 6
- else:
- assert v11 == False
- w_etype, w_evalue = w_12, w_14
- goto = 5
-
- if goto == 4:
- w_16 = space.is_(w_6, space.w_AttributeError)
- v17 = space.is_true(w_16)
- if v17 == True:
- w_8 = space.w_NotImplemented
- goto = 6
else:
- assert v17 == False
- w_12, w_14, w_10 = w_4, w_5, w_6
+ assert v2 == False
+ w_4 = space.w_NotImplemented
goto = 3
- continue
- if goto == 5:
- raise OperationError(w_etype, w_evalue)
+ if goto == 2:
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
+ goto = 3
- if goto == 6:
- return w_8
+ if goto == 3:
+ return w_4
-fastf_instance___lt__ = __lt__
+fastf_instance___iadd__ = __iadd__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__mod__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__iand__'
+## firstlineno 432
##SECTION##
-def __mod__(space, __args__):
- funcname = "__mod__"
+def __iand__(space, __args__):
+ funcname = "__iand__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___mod__(space, w_self, w_other)
+ return fastf_instance___iand__(space, w_self, w_other)
-f_instance___mod__ = __mod__
+f_instance___iand__ = __iand__
-def __mod__(space, w_self, w_other):
+def __iand__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
- goto = 2
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___iand__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
+ goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___mod__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.mod(w_self_4, w_other_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_4
-fastf_instance___mod__ = __mod__
+fastf_instance___iand__ = __iand__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__mul__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__idiv__'
+## firstlineno 432
##SECTION##
-def __mul__(space, __args__):
- funcname = "__mul__"
+def __idiv__(space, __args__):
+ funcname = "__idiv__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___mul__(space, w_self, w_other)
+ return fastf_instance___idiv__(space, w_self, w_other)
-f_instance___mul__ = __mul__
+f_instance___idiv__ = __idiv__
-def __mul__(space, w_self, w_other):
+def __idiv__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___idiv__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___mul__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.mul(w_self_4, w_other_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_4
-fastf_instance___mul__ = __mul__
+fastf_instance___idiv__ = __idiv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ne__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__ifloordiv__'
+## firstlineno 432
##SECTION##
-def __ne__(space, __args__):
- funcname = "__ne__"
+def __ifloordiv__(space, __args__):
+ funcname = "__ifloordiv__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ne__(space, w_self, w_other)
+ return fastf_instance___ifloordiv__(space, w_self, w_other)
-f_instance___ne__ = __ne__
+f_instance___ifloordiv__ = __ifloordiv__
-def __ne__(space, w_self, w_other):
+def __ifloordiv__(space, w_self, w_other):
- w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
- w_9=v11=w_etype=w_evalue=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- try:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___ne__)
- w_other_1, w_3 = w_other, w_0
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ifloordiv__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
-
- if goto == 2:
- try:
- w_7 = space.call_function(w_3, w_other_1)
- w_8 = w_7
- goto = 6
- except OperationError, e:
- if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
- w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
- goto = 4
- else:raise # unhandled case, should not happen
-
- if goto == 3:
- w_9 = space.issubtype(w_10, space.w_AttributeError)
- v11 = space.is_true(w_9)
- if v11 == True:
- w_8 = space.w_NotImplemented
- goto = 6
- else:
- assert v11 == False
- w_etype, w_evalue = w_12, w_14
- goto = 5
-
- if goto == 4:
- w_16 = space.is_(w_6, space.w_AttributeError)
- v17 = space.is_true(w_16)
- if v17 == True:
- w_8 = space.w_NotImplemented
- goto = 6
else:
- assert v17 == False
- w_12, w_14, w_10 = w_4, w_5, w_6
+ assert v2 == False
+ w_4 = space.w_NotImplemented
goto = 3
- continue
- if goto == 5:
- raise OperationError(w_etype, w_evalue)
+ if goto == 2:
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
+ goto = 3
- if goto == 6:
- return w_8
+ if goto == 3:
+ return w_4
-fastf_instance___ne__ = __ne__
+fastf_instance___ifloordiv__ = __ifloordiv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__neg__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__ilshift__'
+## firstlineno 432
##SECTION##
-def __neg__(space, __args__):
- funcname = "__neg__"
- signature = ['self'], None, None
+def __ilshift__(space, __args__):
+ funcname = "__ilshift__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___neg__(space, w_self)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___ilshift__(space, w_self, w_other)
-f_instance___neg__ = __neg__
+f_instance___ilshift__ = __ilshift__
-def __neg__(space, w_self):
+def __ilshift__(space, w_self, w_other):
- w_0=w_2=w_3=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___neg__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ilshift__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
+ goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- return w_3
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
+ goto = 3
-fastf_instance___neg__ = __neg__
+ if goto == 3:
+ return w_4
+
+fastf_instance___ilshift__ = __ilshift__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__oct__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__imod__'
+## firstlineno 432
##SECTION##
-def __oct__(space, __args__):
- funcname = "__oct__"
- signature = ['self'], None, None
+def __imod__(space, __args__):
+ funcname = "__imod__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___oct__(space, w_self)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___imod__(space, w_self, w_other)
-f_instance___oct__ = __oct__
+f_instance___imod__ = __imod__
-def __oct__(space, w_self):
+def __imod__(space, w_self, w_other):
- w_0=w_2=w_3=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___oct__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___imod__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
+ goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- return w_3
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
+ goto = 3
-fastf_instance___oct__ = __oct__
+ if goto == 3:
+ return w_4
+
+fastf_instance___imod__ = __imod__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__or__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__imul__'
+## firstlineno 432
##SECTION##
-def __or__(space, __args__):
- funcname = "__or__"
+def __imul__(space, __args__):
+ funcname = "__imul__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___or__(space, w_self, w_other)
+ return fastf_instance___imul__(space, w_self, w_other)
-f_instance___or__ = __or__
+f_instance___imul__ = __imul__
-def __or__(space, w_self, w_other):
+def __imul__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___imul__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___or__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.or_(w_self_4, w_other_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_4
-fastf_instance___or__ = __or__
+fastf_instance___imul__ = __imul__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__pos__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__ior__'
+## firstlineno 432
##SECTION##
-def __pos__(space, __args__):
- funcname = "__pos__"
- signature = ['self'], None, None
+def __ior__(space, __args__):
+ funcname = "__ior__"
+ signature = ['self', 'other'], None, None
defaults_w = []
- w_self, = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___pos__(space, w_self)
+ w_self, w_other = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___ior__(space, w_self, w_other)
-f_instance___pos__ = __pos__
+f_instance___ior__ = __ior__
-def __pos__(space, w_self):
+def __ior__(space, w_self, w_other):
- w_0=w_2=w_3=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___pos__)
- w_2 = space.call_function(w_0, )
- w_3 = w_2
- goto = 2
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ior__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
+ goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- return w_3
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
+ goto = 3
-fastf_instance___pos__ = __pos__
+ if goto == 3:
+ return w_4
+
+fastf_instance___ior__ = __ior__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rshift__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__ipow__'
+## firstlineno 432
##SECTION##
-def __rshift__(space, __args__):
- funcname = "__rshift__"
+def __ipow__(space, __args__):
+ funcname = "__ipow__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rshift__(space, w_self, w_other)
+ return fastf_instance___ipow__(space, w_self, w_other)
-f_instance___rshift__ = __rshift__
+f_instance___ipow__ = __ipow__
-def __rshift__(space, w_self, w_other):
+def __ipow__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ipow__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rshift__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.rshift(w_self_4, w_other_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_4
-fastf_instance___rshift__ = __rshift__
+fastf_instance___ipow__ = __ipow__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__sub__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__irshift__'
+## firstlineno 432
##SECTION##
-def __sub__(space, __args__):
- funcname = "__sub__"
+def __irshift__(space, __args__):
+ funcname = "__irshift__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___sub__(space, w_self, w_other)
+ return fastf_instance___irshift__(space, w_self, w_other)
-f_instance___sub__ = __sub__
+f_instance___irshift__ = __irshift__
-def __sub__(space, w_self, w_other):
+def __irshift__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___irshift__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
+ return w_4
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___sub__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.sub(w_self_4, w_other_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
-
-fastf_instance___sub__ = __sub__
+fastf_instance___irshift__ = __irshift__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__truediv__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__isub__'
+## firstlineno 432
##SECTION##
-def __truediv__(space, __args__):
- funcname = "__truediv__"
+def __isub__(space, __args__):
+ funcname = "__isub__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___truediv__(space, w_self, w_other)
+ return fastf_instance___isub__(space, w_self, w_other)
-f_instance___truediv__ = __truediv__
+f_instance___isub__ = __isub__
-def __truediv__(space, w_self, w_other):
+def __isub__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___isub__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___truediv__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.truediv(w_self_4, w_other_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_4
-fastf_instance___truediv__ = __truediv__
+fastf_instance___isub__ = __isub__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__xor__'
-## firstlineno 4
+## filename '_classobj.py'
+## function '__itruediv__'
+## firstlineno 432
##SECTION##
-# global declaration
-# global object gfunc__coerce
-
-def __xor__(space, __args__):
- funcname = "__xor__"
+def __itruediv__(space, __args__):
+ funcname = "__itruediv__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___xor__(space, w_self, w_other)
+ return fastf_instance___itruediv__(space, w_self, w_other)
-f_instance___xor__ = __xor__
+f_instance___itruediv__ = __itruediv__
-def __xor__(space, w_self, w_other):
+def __itruediv__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___itruediv__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___xor__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.xor(w_self_4, w_other_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_4
-fastf_instance___xor__ = __xor__
+fastf_instance___itruediv__ = __itruediv__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__radd__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__ixor__'
+## firstlineno 432
##SECTION##
-def __radd__(space, __args__):
- funcname = "__radd__"
+def __ixor__(space, __args__):
+ funcname = "__ixor__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___radd__(space, w_self, w_other)
+ return fastf_instance___ixor__(space, w_self, w_other)
-f_instance___radd__ = __radd__
+f_instance___ixor__ = __ixor__
-def __radd__(space, w_self, w_other):
+def __ixor__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_4=w_other_1=w_func_1=w_5=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___ixor__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_other_1, w_func_1 = w_other, w_func
goto = 2
+ else:
+ assert v2 == False
+ w_4 = space.w_NotImplemented
+ goto = 3
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
+ w_5 = space.call_function(w_func_1, w_other_1)
+ w_4 = w_5
goto = 3
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___radd__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ return w_4
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+fastf_instance___ixor__ = __ixor__
- if goto == 6:
- w_13 = space.add(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
+##SECTION##
+## filename '_classobj.py'
+## function '__pow__'
+## firstlineno 441
+##SECTION##
+def __pow__(space, __args__):
+ funcname = "__pow__"
+ signature = ['self', 'other', 'modulo'], None, None
+ defaults_w = [space.w_None]
+ w_self, w_other, w_modulo = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___pow__(space, w_self, w_other, w_modulo)
- if goto == 7:
- return w_11
+f_instance___pow__ = __pow__
-fastf_instance___radd__ = __radd__
+def __pow__(space, w_self, w_other, w_modulo):
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rand__'
-## firstlineno 14
-##SECTION##
-def __rand__(space, __args__):
- funcname = "__rand__"
- signature = ['self', 'other'], None, None
- defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rand__(space, w_self, w_other)
-
-f_instance___rand__ = __rand__
-
-def __rand__(space, w_self, w_other):
-
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=v2=w_self_2=w_other_2=w_modulo_1=w_func_2=v17=w_14=w_other_8=None
+ w_modulo_2=w_func_3=w_18=w_self_1=w_other_1=w_coerced=w_6=v7=None
+ w_self_4=w_other_4=w_coerced_1=w_9=w_10=w_self_3=w_other_3=w_8=None
+ v11=w_self_6=w_other_6=w_16=w_self_5=w_other_5=w_func=v13=w_other_7=None
+ w_func_1=w_15=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_0 = space.is_(w_modulo, space.w_None)
+ v2 = space.is_true(w_0)
+ if v2 == True:
+ w_self_1, w_other_1 = w_self, w_other
goto = 2
+ else:
+ assert v2 == False
+ w_self_2, w_other_2, w_modulo_1 = w_self, w_other, w_modulo
+ goto = 8
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
-
- if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
+ w_coerced = fastf__coerce(space, w_self_1, w_other_1)
+ w_6 = space.is_(w_coerced, space.w_None)
+ v7 = space.is_true(w_6)
+ if v7 == True:
+ w_self_3, w_other_3, w_8 = w_self_1, w_other_1, w_6
goto = 4
else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
+ assert v7 == False
+ w_self_4, w_other_4, w_coerced_1 = w_self_1, w_other_1, w_coerced
+ goto = 3
+
+ if goto == 3:
+ w_9 = space.getitem(w_coerced_1, gi_0)
+ w_10 = space.is_(w_9, w_self_4)
+ w_self_3, w_other_3, w_8 = w_self_4, w_other_4, w_10
+ goto = 4
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rand__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
+ v11 = space.is_true(w_8)
+ if v11 == True:
+ w_self_5, w_other_5 = w_self_3, w_other_3
goto = 5
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
+ assert v11 == False
+ w_self_6, w_other_6 = w_self_3, w_other_3
goto = 7
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_5, gs___pow__, space.w_False)
+ v13 = space.is_true(w_func)
+ if v13 == True:
+ w_other_7, w_func_1 = w_other_5, w_func
+ goto = 6
+ else:
+ assert v13 == False
+ w_14 = space.w_NotImplemented
+ goto = 10
if goto == 6:
- w_13 = space.and_(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
+ w_15 = space.call_function(w_func_1, w_other_7)
+ w_14 = w_15
+ goto = 10
if goto == 7:
- return w_11
+ w_16 = space.pow(w_self_6, w_other_6)
+ w_14 = w_16
+ goto = 10
-fastf_instance___rand__ = __rand__
+ if goto == 8:
+ w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_2, gs___pow__, space.w_False)
+ v17 = space.is_true(w_func_2)
+ if v17 == True:
+ w_other_8, w_modulo_2, w_func_3 = w_other_2, w_modulo_1, w_func_2
+ goto = 9
+ else:
+ assert v17 == False
+ w_14 = space.w_NotImplemented
+ goto = 10
+
+ if goto == 9:
+ w_18 = space.call_function(w_func_3, w_other_8, w_modulo_2)
+ w_14 = w_18
+ goto = 10
+
+ if goto == 10:
+ return w_14
+
+fastf_instance___pow__ = __pow__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rdiv__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__rpow__'
+## firstlineno 459
##SECTION##
-def __rdiv__(space, __args__):
- funcname = "__rdiv__"
- signature = ['self', 'other'], None, None
- defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rdiv__(space, w_self, w_other)
+def __rpow__(space, __args__):
+ funcname = "__rpow__"
+ signature = ['self', 'other', 'modulo'], None, None
+ defaults_w = [space.w_None]
+ w_self, w_other, w_modulo = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___rpow__(space, w_self, w_other, w_modulo)
-f_instance___rdiv__ = __rdiv__
+f_instance___rpow__ = __rpow__
-def __rdiv__(space, w_self, w_other):
+def __rpow__(space, w_self, w_other, w_modulo):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=v2=w_self_2=w_other_2=w_modulo_1=w_func_2=v17=w_14=w_other_8=None
+ w_modulo_2=w_func_3=w_18=w_self_1=w_other_1=w_coerced=w_6=v7=None
+ w_self_4=w_other_4=w_coerced_1=w_9=w_10=w_self_3=w_other_3=w_8=None
+ v11=w_self_6=w_other_6=w_16=w_self_5=w_other_5=w_func=v13=w_other_7=None
+ w_func_1=w_15=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_0 = space.is_(w_modulo, space.w_None)
+ v2 = space.is_true(w_0)
+ if v2 == True:
+ w_self_1, w_other_1 = w_self, w_other
goto = 2
+ else:
+ assert v2 == False
+ w_self_2, w_other_2, w_modulo_1 = w_self, w_other, w_modulo
+ goto = 8
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
-
- if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
+ w_coerced = fastf__coerce(space, w_self_1, w_other_1)
+ w_6 = space.is_(w_coerced, space.w_None)
+ v7 = space.is_true(w_6)
+ if v7 == True:
+ w_self_3, w_other_3, w_8 = w_self_1, w_other_1, w_6
goto = 4
else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
+ assert v7 == False
+ w_self_4, w_other_4, w_coerced_1 = w_self_1, w_other_1, w_coerced
+ goto = 3
+
+ if goto == 3:
+ w_9 = space.getitem(w_coerced_1, gi_0)
+ w_10 = space.is_(w_9, w_self_4)
+ w_self_3, w_other_3, w_8 = w_self_4, w_other_4, w_10
+ goto = 4
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rdiv__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
+ v11 = space.is_true(w_8)
+ if v11 == True:
+ w_self_5, w_other_5 = w_self_3, w_other_3
goto = 5
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
+ assert v11 == False
+ w_self_6, w_other_6 = w_self_3, w_other_3
goto = 7
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ w_func = space.call_function(gfunc_instance_getattr1, w_self_5, gs___rpow__, space.w_False)
+ v13 = space.is_true(w_func)
+ if v13 == True:
+ w_other_7, w_func_1 = w_other_5, w_func
+ goto = 6
+ else:
+ assert v13 == False
+ w_14 = space.w_NotImplemented
+ goto = 10
if goto == 6:
- w_13 = space.div(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
+ w_15 = space.call_function(w_func_1, w_other_7)
+ w_14 = w_15
+ goto = 10
if goto == 7:
- return w_11
-
-fastf_instance___rdiv__ = __rdiv__
-
-##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rdivmod__'
-## firstlineno 14
-##SECTION##
-def __rdivmod__(space, __args__):
- funcname = "__rdivmod__"
- signature = ['self', 'other'], None, None
- defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rdivmod__(space, w_self, w_other)
+ w_16 = space.pow(w_other_6, w_self_6)
+ w_14 = w_16
+ goto = 10
-f_instance___rdivmod__ = __rdivmod__
+ if goto == 8:
+ w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_2, gs___rpow__, space.w_False)
+ v17 = space.is_true(w_func_2)
+ if v17 == True:
+ w_other_8, w_modulo_2, w_func_3 = w_other_2, w_modulo_1, w_func_2
+ goto = 9
+ else:
+ assert v17 == False
+ w_14 = space.w_NotImplemented
+ goto = 10
-def __rdivmod__(space, w_self, w_other):
+ if goto == 9:
+ w_18 = space.call_function(w_func_3, w_other_8, w_modulo_2)
+ w_14 = w_18
+ goto = 10
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ if goto == 10:
+ return w_14
- goto = 1 # startblock
- while True:
-
- if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
- goto = 2
-
- if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
-
- if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
-
- if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rdivmod__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
-
- if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.divmod(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
-
-fastf_instance___rdivmod__ = __rdivmod__
+fastf_instance___rpow__ = __rpow__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rfloordiv__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__nonzero__'
+## firstlineno 477
##SECTION##
-def __rfloordiv__(space, __args__):
- funcname = "__rfloordiv__"
- signature = ['self', 'other'], None, None
+# global declarations
+# global object gs___nonzero_____should_return____0
+# global object gs___nonzero_____should_return_an_i
+
+def __nonzero__(space, __args__):
+ funcname = "__nonzero__"
+ signature = ['self'], None, None
defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rfloordiv__(space, w_self, w_other)
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___nonzero__(space, w_self)
-f_instance___rfloordiv__ = __rfloordiv__
+f_instance___nonzero__ = __nonzero__
-def __rfloordiv__(space, w_self, w_other):
+def __nonzero__(space, w_self):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_self_1=w_func_2=v3=w_4=w_func_1=w_ret=w_6=v7=w_14=None
+ w_etype=w_evalue=w_ret_1=w_8=v9=w_ret_2=w_13=w_10=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___nonzero__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_func_1 = w_func
goto = 3
else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ assert v2 == False
+ w_self_1 = w_self
goto = 2
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_1, gs___nonzero__, space.w_False)
+ v3 = space.is_true(w_func_2)
+ if v3 == True:
+ w_func_1 = w_func_2
+ goto = 3
+ else:
+ assert v3 == False
+ w_4 = space.w_True
+ goto = 9
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
+ w_ret = space.call_function(w_func_1, )
+ w_6 = space.isinstance(w_ret, space.w_int)
+ v7 = space.is_true(w_6)
+ if v7 == True:
+ w_ret_1 = w_ret
goto = 4
else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
+ assert v7 == False
+ goto = 7
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rfloordiv__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
+ w_8 = space.lt(w_ret_1, gi_0)
+ v9 = space.is_true(w_8)
+ if v9 == True:
goto = 5
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ assert v9 == False
+ w_ret_2 = w_ret_1
+ goto = 6
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ w_10 = space.call_function(space.w_ValueError, gs___nonzero_____should_return____0)
+ w_etype, w_evalue = space.w_ValueError, w_10
+ goto = 8
if goto == 6:
- w_13 = space.floordiv(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
+ w_13 = space.gt(w_ret_2, gi_0)
+ w_4 = w_13
+ goto = 9
if goto == 7:
- return w_11
+ w_14 = space.call_function(space.w_TypeError, gs___nonzero_____should_return_an_i)
+ w_etype, w_evalue = space.w_TypeError, w_14
+ goto = 8
-fastf_instance___rfloordiv__ = __rfloordiv__
+ if goto == 8:
+ raise OperationError(w_etype, w_evalue)
+
+ if goto == 9:
+ return w_4
+
+fastf_instance___nonzero__ = __nonzero__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rlshift__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__call__'
+## firstlineno 492
##SECTION##
-def __rlshift__(space, __args__):
- funcname = "__rlshift__"
- signature = ['self', 'other'], None, None
+# global declaration
+# global object gs__s_instance_has_no___call___meth
+
+def __call__(space, __args__):
+ funcname = "__call__"
+ signature = ['self'], 'args', 'kwds'
defaults_w = []
- w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rlshift__(space, w_self, w_other)
+ w_self, w_args, w_kwds = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___call__(space, w_self, w_args, w_kwds)
-f_instance___rlshift__ = __rlshift__
+f_instance___call__ = __call__
-def __rlshift__(space, w_self, w_other):
+def __call__(space, w_self, w_args, w_kwds):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_func=v2=w_self_1=w_5=w_6=w_7=w_etype=w_evalue=w_args_1=w_kwds_1=None
+ w_func_1=w_10=w_11=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___call__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_args_1, w_kwds_1, w_func_1 = w_args, w_kwds, w_func
goto = 3
else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ assert v2 == False
+ w_self_1 = w_self
goto = 2
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ w_5 = space.getattr(w_self_1, gs___class__)
+ w_6 = space.getattr(w_5, gs___name__)
+ w_7 = space.mod(gs__s_instance_has_no___call___meth, w_6)
+ w_etype, w_evalue = space.w_AttributeError, w_7
+ goto = 4
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
+ _args = Arguments.fromshape(space, (0, (), True, True), [w_args_1, w_kwds_1])
+ w_10 = space.call_args(w_func_1, _args)
+ w_11 = w_10
+ goto = 5
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rlshift__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
- else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ raise OperationError(w_etype, w_evalue)
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
-
- if goto == 6:
- w_13 = space.lshift(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
return w_11
-fastf_instance___rlshift__ = __rlshift__
+fastf_instance___call__ = __call__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rmod__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__eq__'
+## firstlineno 503
##SECTION##
-def __rmod__(space, __args__):
- funcname = "__rmod__"
+def __eq__(space, __args__):
+ funcname = "__eq__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rmod__(space, w_self, w_other)
+ return fastf_instance___eq__(space, w_self, w_other)
-f_instance___rmod__ = __rmod__
+f_instance___eq__ = __eq__
-def __rmod__(space, w_self, w_other):
+def __eq__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
+ w_9=v11=w_etype=w_evalue=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ try:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___eq__)
+ w_other_1, w_3 = w_other, w_0
goto = 2
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ try:
+ w_7 = space.call_function(w_3, w_other_1)
+ w_8 = w_7
+ goto = 6
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
+ w_9 = space.issubtype(w_10, space.w_AttributeError)
+ v11 = space.is_true(w_9)
+ if v11 == True:
+ w_8 = space.w_NotImplemented
goto = 6
+ else:
+ assert v11 == False
+ w_etype, w_evalue = w_12, w_14
+ goto = 5
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rmod__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
+ w_16 = space.is_(w_6, space.w_AttributeError)
+ v17 = space.is_true(w_16)
+ if v17 == True:
+ w_8 = space.w_NotImplemented
+ goto = 6
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ assert v17 == False
+ w_12, w_14, w_10 = w_4, w_5, w_6
+ goto = 3
+ continue
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ raise OperationError(w_etype, w_evalue)
if goto == 6:
- w_13 = space.mod(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_8
-fastf_instance___rmod__ = __rmod__
+fastf_instance___eq__ = __eq__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rmul__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__ge__'
+## firstlineno 503
##SECTION##
-def __rmul__(space, __args__):
- funcname = "__rmul__"
+def __ge__(space, __args__):
+ funcname = "__ge__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rmul__(space, w_self, w_other)
+ return fastf_instance___ge__(space, w_self, w_other)
-f_instance___rmul__ = __rmul__
+f_instance___ge__ = __ge__
-def __rmul__(space, w_self, w_other):
+def __ge__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
+ w_9=v11=w_etype=w_evalue=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ try:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___ge__)
+ w_other_1, w_3 = w_other, w_0
goto = 2
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ try:
+ w_7 = space.call_function(w_3, w_other_1)
+ w_8 = w_7
+ goto = 6
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
+ w_9 = space.issubtype(w_10, space.w_AttributeError)
+ v11 = space.is_true(w_9)
+ if v11 == True:
+ w_8 = space.w_NotImplemented
goto = 6
+ else:
+ assert v11 == False
+ w_etype, w_evalue = w_12, w_14
+ goto = 5
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rmul__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
+ w_16 = space.is_(w_6, space.w_AttributeError)
+ v17 = space.is_true(w_16)
+ if v17 == True:
+ w_8 = space.w_NotImplemented
+ goto = 6
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ assert v17 == False
+ w_12, w_14, w_10 = w_4, w_5, w_6
+ goto = 3
+ continue
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ raise OperationError(w_etype, w_evalue)
if goto == 6:
- w_13 = space.mul(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_8
-fastf_instance___rmul__ = __rmul__
+fastf_instance___ge__ = __ge__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__ror__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__gt__'
+## firstlineno 503
##SECTION##
-def __ror__(space, __args__):
- funcname = "__ror__"
+def __gt__(space, __args__):
+ funcname = "__gt__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___ror__(space, w_self, w_other)
+ return fastf_instance___gt__(space, w_self, w_other)
-f_instance___ror__ = __ror__
+f_instance___gt__ = __gt__
-def __ror__(space, w_self, w_other):
+def __gt__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
+ w_9=v11=w_etype=w_evalue=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ try:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___gt__)
+ w_other_1, w_3 = w_other, w_0
goto = 2
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ try:
+ w_7 = space.call_function(w_3, w_other_1)
+ w_8 = w_7
+ goto = 6
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
+ w_9 = space.issubtype(w_10, space.w_AttributeError)
+ v11 = space.is_true(w_9)
+ if v11 == True:
+ w_8 = space.w_NotImplemented
goto = 6
+ else:
+ assert v11 == False
+ w_etype, w_evalue = w_12, w_14
+ goto = 5
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___ror__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
+ w_16 = space.is_(w_6, space.w_AttributeError)
+ v17 = space.is_true(w_16)
+ if v17 == True:
+ w_8 = space.w_NotImplemented
+ goto = 6
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ assert v17 == False
+ w_12, w_14, w_10 = w_4, w_5, w_6
+ goto = 3
+ continue
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ raise OperationError(w_etype, w_evalue)
if goto == 6:
- w_13 = space.or_(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_8
-fastf_instance___ror__ = __ror__
+fastf_instance___gt__ = __gt__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rrshift__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__le__'
+## firstlineno 503
##SECTION##
-def __rrshift__(space, __args__):
- funcname = "__rrshift__"
+def __le__(space, __args__):
+ funcname = "__le__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rrshift__(space, w_self, w_other)
+ return fastf_instance___le__(space, w_self, w_other)
-f_instance___rrshift__ = __rrshift__
+f_instance___le__ = __le__
-def __rrshift__(space, w_self, w_other):
+def __le__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
+ w_9=v11=w_etype=w_evalue=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ try:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___le__)
+ w_other_1, w_3 = w_other, w_0
goto = 2
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ try:
+ w_7 = space.call_function(w_3, w_other_1)
+ w_8 = w_7
+ goto = 6
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
+ w_9 = space.issubtype(w_10, space.w_AttributeError)
+ v11 = space.is_true(w_9)
+ if v11 == True:
+ w_8 = space.w_NotImplemented
goto = 6
+ else:
+ assert v11 == False
+ w_etype, w_evalue = w_12, w_14
+ goto = 5
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rrshift__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
+ w_16 = space.is_(w_6, space.w_AttributeError)
+ v17 = space.is_true(w_16)
+ if v17 == True:
+ w_8 = space.w_NotImplemented
+ goto = 6
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ assert v17 == False
+ w_12, w_14, w_10 = w_4, w_5, w_6
+ goto = 3
+ continue
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ raise OperationError(w_etype, w_evalue)
if goto == 6:
- w_13 = space.rshift(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_8
-fastf_instance___rrshift__ = __rrshift__
+fastf_instance___le__ = __le__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rsub__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__lt__'
+## firstlineno 503
##SECTION##
-def __rsub__(space, __args__):
- funcname = "__rsub__"
+def __lt__(space, __args__):
+ funcname = "__lt__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rsub__(space, w_self, w_other)
+ return fastf_instance___lt__(space, w_self, w_other)
-f_instance___rsub__ = __rsub__
+f_instance___lt__ = __lt__
-def __rsub__(space, w_self, w_other):
+def __lt__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
+ w_9=v11=w_etype=w_evalue=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ try:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___lt__)
+ w_other_1, w_3 = w_other, w_0
goto = 2
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ try:
+ w_7 = space.call_function(w_3, w_other_1)
+ w_8 = w_7
+ goto = 6
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
+ w_9 = space.issubtype(w_10, space.w_AttributeError)
+ v11 = space.is_true(w_9)
+ if v11 == True:
+ w_8 = space.w_NotImplemented
goto = 6
+ else:
+ assert v11 == False
+ w_etype, w_evalue = w_12, w_14
+ goto = 5
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rsub__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
+ w_16 = space.is_(w_6, space.w_AttributeError)
+ v17 = space.is_true(w_16)
+ if v17 == True:
+ w_8 = space.w_NotImplemented
+ goto = 6
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ assert v17 == False
+ w_12, w_14, w_10 = w_4, w_5, w_6
+ goto = 3
+ continue
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ raise OperationError(w_etype, w_evalue)
if goto == 6:
- w_13 = space.sub(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
-
- if goto == 7:
- return w_11
+ return w_8
-fastf_instance___rsub__ = __rsub__
+fastf_instance___lt__ = __lt__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rtruediv__'
-## firstlineno 14
+## filename '_classobj.py'
+## function '__ne__'
+## firstlineno 503
##SECTION##
-def __rtruediv__(space, __args__):
- funcname = "__rtruediv__"
+def __ne__(space, __args__):
+ funcname = "__ne__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rtruediv__(space, w_self, w_other)
+ return fastf_instance___ne__(space, w_self, w_other)
-f_instance___rtruediv__ = __rtruediv__
+f_instance___ne__ = __ne__
-def __rtruediv__(space, w_self, w_other):
+def __ne__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_0=w_other_1=w_3=w_7=w_8=w_4=w_5=w_6=w_16=v17=w_12=w_14=w_10=None
+ w_9=v11=w_etype=w_evalue=None
goto = 1 # startblock
while True:
if goto == 1:
- w_coerced = fastf__coerce(space, w_self, w_other)
- w_3 = space.is_(w_coerced, space.w_None)
- v4 = space.is_true(w_3)
- if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
- else:
- assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ try:
+ w_0 = space.call_function(gfunc_instance_getattr1, w_self, gs___ne__)
+ w_other_1, w_3 = w_other, w_0
goto = 2
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
+ try:
+ w_7 = space.call_function(w_3, w_other_1)
+ w_8 = w_7
+ goto = 6
+ except OperationError, e:
+ if space.is_true(space.issubtype(e.w_type, space.w_Exception)):
+ w_4, w_5, w_6 = e.w_type, e.w_value, e.w_type
+ goto = 4
+ else:raise # unhandled case, should not happen
if goto == 3:
- v8 = space.is_true(w_5)
- if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
- goto = 4
- else:
- assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
+ w_9 = space.issubtype(w_10, space.w_AttributeError)
+ v11 = space.is_true(w_9)
+ if v11 == True:
+ w_8 = space.w_NotImplemented
goto = 6
+ else:
+ assert v11 == False
+ w_etype, w_evalue = w_12, w_14
+ goto = 5
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rtruediv__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
- goto = 5
+ w_16 = space.is_(w_6, space.w_AttributeError)
+ v17 = space.is_true(w_16)
+ if v17 == True:
+ w_8 = space.w_NotImplemented
+ goto = 6
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
+ assert v17 == False
+ w_12, w_14, w_10 = w_4, w_5, w_6
+ goto = 3
+ continue
+
+ if goto == 5:
+ raise OperationError(w_etype, w_evalue)
+
+ if goto == 6:
+ return w_8
+
+fastf_instance___ne__ = __ne__
+
+##SECTION##
+## filename '_classobj.py'
+## function '__iter__'
+## firstlineno 512
+##SECTION##
+# global declarations
+# global object gs___iter___returned_non_iterator_o
+# global object gs_iteration_over_non_sequence
+
+def __iter__(space, __args__):
+ funcname = "__iter__"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance___iter__(space, w_self)
+
+f_instance___iter__ = __iter__
+
+def __iter__(space, w_self):
+
+ w_func=v2=w_self_1=w_func_2=v12=w_etype=w_evalue=w_self_2=w_13=None
+ w_6=w_func_1=w_ret=w_4=v5=w_ret_1=w_7=w_8=w_9=None
+
+ goto = 1 # startblock
+ while True:
+
+ if goto == 1:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs___iter__, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_func_1 = w_func
+ goto = 2
+ else:
+ assert v2 == False
+ w_self_1 = w_self
+ goto = 4
+
+ if goto == 2:
+ w_ret = space.call_function(w_func_1, )
+ w_4 = fastf_mro_lookup(space, w_ret, gs_next)
+ v5 = space.is_true(w_4)
+ if v5 == True:
+ w_6 = w_ret
goto = 7
+ else:
+ assert v5 == False
+ w_ret_1 = w_ret
+ goto = 3
+
+ if goto == 3:
+ w_7 = space.call_function(space.w_type, w_ret_1)
+ w_8 = space.getattr(w_7, gs___name__)
+ w_9 = space.mod(gs___iter___returned_non_iterator_o, w_8)
+ w_etype, w_evalue = space.w_TypeError, w_9
+ goto = 6
+
+ if goto == 4:
+ w_func_2 = space.call_function(gfunc_instance_getattr1, w_self_1, gs___getitem__, space.w_False)
+ v12 = space.is_true(w_func_2)
+ if v12 == True:
+ w_self_2 = w_self_1
+ goto = 5
+ else:
+ assert v12 == False
+ (w_etype, w_evalue) = (space.w_TypeError,
+ gs_iteration_over_non_sequence)
+ goto = 6
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
+ w_13 = space.builtin.get('_seqiter')(w_self_2)
+ w_6 = w_13
goto = 7
if goto == 6:
- w_13 = space.truediv(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
+ raise OperationError(w_etype, w_evalue)
if goto == 7:
- return w_11
+ return w_6
-fastf_instance___rtruediv__ = __rtruediv__
+fastf_instance___iter__ = __iter__
##SECTION##
-## filename '/u/pedronis/PyPy/dist/pypy/purify'
-## function '__rxor__'
-## firstlineno 14
+## filename '_classobj.py'
+## function 'next'
+## firstlineno 527
##SECTION##
-def __rxor__(space, __args__):
- funcname = "__rxor__"
+# global declaration
+# global object gs_instance_has_no_next___method
+
+def next(space, __args__):
+ funcname = "next"
+ signature = ['self'], None, None
+ defaults_w = []
+ w_self, = __args__.parse(funcname, signature, defaults_w)
+ return fastf_instance_next(space, w_self)
+
+f_instance_next = next
+
+def next(space, w_self):
+
+ w_func=v2=w_etype=w_evalue=w_func_1=w_5=w_6=None
+
+ goto = 1 # startblock
+ while True:
+
+ if goto == 1:
+ w_func = space.call_function(gfunc_instance_getattr1, w_self, gs_next, space.w_False)
+ v2 = space.is_true(w_func)
+ if v2 == True:
+ w_func_1 = w_func
+ goto = 2
+ else:
+ assert v2 == False
+ (w_etype, w_evalue) = (space.w_TypeError,
+ gs_instance_has_no_next___method)
+ goto = 3
+
+ if goto == 2:
+ w_5 = space.call_function(w_func_1, )
+ w_6 = w_5
+ goto = 4
+
+ if goto == 3:
+ raise OperationError(w_etype, w_evalue)
+
+ if goto == 4:
+ return w_6
+
+fastf_instance_next = next
+
+##SECTION##
+## filename '_classobj.py'
+## function '__cmp__'
+## firstlineno 533
+##SECTION##
+# global declarations
+# global object gs___cmp___must_return_int
+# global object gi_minus_1
+
+def __cmp__(space, __args__):
+ funcname = "__cmp__"
signature = ['self', 'other'], None, None
defaults_w = []
w_self, w_other = __args__.parse(funcname, signature, defaults_w)
- return fastf_instance___rxor__(space, w_self, w_other)
+ return fastf_instance___cmp__(space, w_self, w_other)
-f_instance___rxor__ = __rxor__
+f_instance___cmp__ = __cmp__
-def __rxor__(space, w_self, w_other):
+def __cmp__(space, w_self, w_other):
- w_coerced=w_3=v4=w_self_2=w_other_2=w_coerced_1=w_6=w_7=w_self_1=None
- w_other_1=w_5=v8=w_self_4=w_other_4=w_13=w_11=w_self_3=w_other_3=None
- w_func=v10=w_other_5=w_func_1=w_12=None
+ w_coerced=w_3=v4=w_coerced_1=w_v_1=w_w_1=w_7=v8=w_v_3=w_w_3=w_10=None
+ v11=w_w_2=w_v_2=w_9=v12=w_w=w_v=w_15=v16=w_w_6=w_v_6=w_28=v29=None
+ w_14=w_v_7=w_func_2=v30=w_v_8=w_func_3=w_res_3=w_31=v32=w_etype=None
+ w_evalue=w_res_4=w_33=v34=w_res_5=w_35=v36=w_w_5=w_v_5=w_func=None
+ v18=w_w_7=w_func_1=w_res=w_20=v21=w_res_1=w_24=v25=w_res_2=w_26=None
+ v27=w_w_4=w_v_4=w_13=None
goto = 1 # startblock
while True:
@@ -7110,54 +6781,382 @@
w_3 = space.is_(w_coerced, space.w_None)
v4 = space.is_true(w_3)
if v4 == True:
- w_self_1, w_other_1, w_5 = w_self, w_other, w_3
- goto = 3
+ w_w, w_v = w_other, w_self
+ goto = 6
else:
assert v4 == False
- w_self_2, w_other_2, w_coerced_1 = w_self, w_other, w_coerced
+ w_coerced_1 = w_coerced
goto = 2
if goto == 2:
- w_6 = space.getitem(w_coerced_1, gi_0)
- w_7 = space.is_(w_6, w_self_2)
- w_self_1, w_other_1, w_5 = w_self_2, w_other_2, w_7
- goto = 3
-
- if goto == 3:
- v8 = space.is_true(w_5)
+ w_v_1 = space.getitem(w_coerced_1, gi_0)
+ w_w_1 = space.getitem(w_coerced_1, gi_1)
+ w_7 = space.isinstance(w_v_1, gcls_instance)
+ v8 = space.is_true(w_7)
if v8 == True:
- w_self_3, w_other_3 = w_self_1, w_other_1
+ w_w_2, w_v_2, w_9 = w_w_1, w_v_1, space.w_False
goto = 4
else:
assert v8 == False
- w_self_4, w_other_4 = w_self_1, w_other_1
- goto = 6
+ w_v_3, w_w_3 = w_v_1, w_w_1
+ goto = 3
+
+ if goto == 3:
+ w_10 = space.isinstance(w_w_3, gcls_instance)
+ v11 = space.is_true(w_10)
+ if v11 == True:
+ w_w_2, w_v_2, w_9 = w_w_3, w_v_3, space.w_False
+ goto = 4
+ else:
+ assert v11 == False
+ w_w_2, w_v_2, w_9 = w_w_3, w_v_3, space.w_True
+ goto = 4
if goto == 4:
- w_func = space.call_function(gfunc_instance_getattr1, w_self_3, gs___rxor__, space.w_False)
- v10 = space.is_true(w_func)
- if v10 == True:
- w_other_5, w_func_1 = w_other_3, w_func
+ v12 = space.is_true(w_9)
+ if v12 == True:
+ w_w_4, w_v_4 = w_w_2, w_v_2
goto = 5
else:
- assert v10 == False
- w_11 = space.w_NotImplemented
- goto = 7
+ assert v12 == False
+ w_w, w_v = w_w_2, w_v_2
+ goto = 6
if goto == 5:
- w_12 = space.call_function(w_func_1, w_other_5)
- w_11 = w_12
- goto = 7
+ w_13 = space.cmp(w_v_4, w_w_4)
+ w_14 = w_13
+ goto = 17
if goto == 6:
- w_13 = space.xor(w_other_4, w_self_4)
- w_11 = w_13
- goto = 7
+ w_15 = space.isinstance(w_v, gcls_instance)
+ v16 = space.is_true(w_15)
+ if v16 == True:
+ w_w_5, w_v_5 = w_w, w_v
+ goto = 7
+ else:
+ assert v16 == False
+ w_w_6, w_v_6 = w_w, w_v
+ goto = 11
if goto == 7:
- return w_11
+ w_func = space.call_function(gfunc_instance_getattr1, w_v_5, gs___cmp__, space.w_False)
+ v18 = space.is_true(w_func)
+ if v18 == True:
+ w_w_7, w_func_1 = w_w_5, w_func
+ goto = 8
+ else:
+ assert v18 == False
+ w_w_6, w_v_6 = w_w_5, w_v_5
+ goto = 11
-fastf_instance___rxor__ = __rxor__
+ if goto == 8:
+ w_res = space.call_function(w_func_1, w_w_7)
+ w_20 = space.isinstance(w_res, space.w_int)
+ v21 = space.is_true(w_20)
+ if v21 == True:
+ w_res_1 = w_res
+ goto = 9
+ else:
+ assert v21 == False
+ w_etype, w_evalue = space.w_TypeError, gs___cmp___must_return_int
+ goto = 16
+
+ if goto == 9:
+ w_24 = space.gt(w_res_1, gi_0)
+ v25 = space.is_true(w_24)
+ if v25 == True:
+ w_14 = gi_1
+ goto = 17
+ else:
+ assert v25 == False
+ w_res_2 = w_res_1
+ goto = 10
+
+ if goto == 10:
+ w_26 = space.lt(w_res_2, gi_0)
+ v27 = space.is_true(w_26)
+ if v27 == True:
+ w_14 = gi_minus_1
+ goto = 17
+ else:
+ assert v27 == False
+ w_14 = gi_0
+ goto = 17
+
+ if goto == 11:
+ w_28 = space.isinstance(w_w_6, gcls_instance)
+ v29 = space.is_true(w_28)
+ if v29 == True:
+ w_v_7 = w_v_6
+ goto = 12
+ else:
+ assert v29 == False
+ w_14 = space.w_NotImplemented
+ goto = 17
+
+ if goto == 12:
+ w_func_2 = space.call_function(gfunc_instance_getattr1, w_v_7, gs___cmp__, space.w_False)
+ v30 = space.is_true(w_func_2)
+ if v30 == True:
+ w_v_8, w_func_3 = w_v_7, w_func_2
+ goto = 13
+ else:
+ assert v30 == False
+ w_14 = space.w_NotImplemented
+ goto = 17
+
+ if goto == 13:
+ w_res_3 = space.call_function(w_func_3, w_v_8)
+ w_31 = space.isinstance(w_res_3, space.w_int)
+ v32 = space.is_true(w_31)
+ if v32 == True:
+ w_res_4 = w_res_3
+ goto = 14
+ else:
+ assert v32 == False
+ w_etype, w_evalue = space.w_TypeError, gs___cmp___must_return_int
+ goto = 16
+
+ if goto == 14:
+ w_33 = space.gt(w_res_4, gi_0)
+ v34 = space.is_true(w_33)
+ if v34 == True:
+ w_14 = gi_1
+ goto = 17
+ else:
+ assert v34 == False
+ w_res_5 = w_res_4
+ goto = 15
+
+ if goto == 15:
+ w_35 = space.lt(w_res_5, gi_0)
+ v36 = space.is_true(w_35)
+ if v36 == True:
+ w_14 = gi_minus_1
+ goto = 17
+ else:
+ assert v36 == False
+ w_14 = gi_0
+ goto = 17
+
+ if goto == 16:
+ raise OperationError(w_etype, w_evalue)
+
+ if goto == 17:
+ return w_14
+
+fastf_instance___cmp__ = __cmp__
+
+##SECTION##
+## filename '_classobj.py'
+## function 'purify'
+## firstlineno 571
+##SECTION##
+# global declarations
+# global object g3tuple
+# global object gcls_classobj
+# global object gs___module__
+# global object gs__classobj
+# global object gs___new__
+# global object gsm___new__
+# global object gfunc___new__
+# global object gs___slots__
+# global object g3tuple_1
+# global object gs__name
+# global object gs__bases
+# global object gs___dict__
+# global object gs_classobj
+# global object gcls_instance
+# global object gsm___new___1
+# global object gfunc___new___1
+# global object g2tuple
+# global object gs__class
+# global object gs_instance
+# global object gfunc_purify
+
+def purify(space, __args__):
+ funcname = "purify"
+ signature = [], None, None
+ defaults_w = []
+ __args__.parse(funcname, signature, defaults_w)
+ return fastf_purify(space)
+
+f_purify = purify
+
+def purify(space):
+
+ w_0=w_1=w_2=w_3=w_4=w_5=None
+
+ goto = 1 # startblock
+ while True:
+
+ if goto == 1:
+ w_0 = space.delattr(gcls_classobj, gs__name)
+ w_1 = space.delattr(gcls_classobj, gs__bases)
+ w_2 = space.delattr(gcls_classobj, gs___slots__)
+ w_3 = space.delattr(gcls_instance, gs__class)
+ w_4 = space.delattr(gcls_instance, gs___slots__)
+ w_5 = space.w_None
+ goto = 2
+
+ if goto == 2:
+ return w_5
+
+fastf_purify = purify
+
+# global declarations
+# global object gs___abs__
+# global object gfunc_instance___abs__
+# global object gs___add__
+# global object gfunc_instance___add__
+# global object gs___and__
+# global object gfunc_instance___and__
+# global object gs___call__
+# global object gfunc_instance___call__
+# global object gs___cmp__
+# global object gfunc_instance___cmp__
+# global object gs___coerce__
+# global object gfunc_instance___coerce__
+# global object gs___contains__
+# global object gfunc_instance___contains__
+# global object gs___delattr__
+# global object gfunc_instance___delattr__
+# global object gs___delitem__
+# global object gfunc_instance___delitem__
+# global object gs___div__
+# global object gfunc_instance___div__
+# global object gs___divmod__
+# global object gfunc_instance___divmod__
+# global object gs___eq__
+# global object gfunc_instance___eq__
+# global object gs___float__
+# global object gfunc_instance___float__
+# global object gs___floordiv__
+# global object gfunc_instance___floordiv__
+# global object gs___ge__
+# global object gfunc_instance___ge__
+# global object gs___getattribute__
+# global object gfunc_instance___getattribute__
+# global object gs___getitem__
+# global object gfunc_instance___getitem__
+# global object gs___gt__
+# global object gfunc_instance___gt__
+# global object gs___hash__
+# global object gfunc_instance___hash__
+# global object gs___hex__
+# global object gfunc_instance___hex__
+# global object gs___iadd__
+# global object gfunc_instance___iadd__
+# global object gs___iand__
+# global object gfunc_instance___iand__
+# global object gs___idiv__
+# global object gfunc_instance___idiv__
+# global object gs___ifloordiv__
+# global object gfunc_instance___ifloordiv__
+# global object gs___ilshift__
+# global object gfunc_instance___ilshift__
+# global object gs___imod__
+# global object gfunc_instance___imod__
+# global object gs___imul__
+# global object gfunc_instance___imul__
+# global object gs___int__
+# global object gfunc_instance___int__
+# global object gs___invert__
+# global object gfunc_instance___invert__
+# global object gs___ior__
+# global object gfunc_instance___ior__
+# global object gs___ipow__
+# global object gfunc_instance___ipow__
+# global object gs___irshift__
+# global object gfunc_instance___irshift__
+# global object gs___isub__
+# global object gfunc_instance___isub__
+# global object gs___iter__
+# global object gfunc_instance___iter__
+# global object gs___itruediv__
+# global object gfunc_instance___itruediv__
+# global object gs___ixor__
+# global object gfunc_instance___ixor__
+# global object gs___le__
+# global object gfunc_instance___le__
+# global object gs___len__
+# global object gfunc_instance___len__
+# global object gs___long__
+# global object gfunc_instance___long__
+# global object gs___lshift__
+# global object gfunc_instance___lshift__
+# global object gs___lt__
+# global object gfunc_instance___lt__
+# global object gs___mod__
+# global object gfunc_instance___mod__
+# global object gs___mul__
+# global object gfunc_instance___mul__
+# global object gs___ne__
+# global object gfunc_instance___ne__
+# global object gs___neg__
+# global object gfunc_instance___neg__
+# global object gs___nonzero__
+# global object gfunc_instance___nonzero__
+# global object gs___oct__
+# global object gfunc_instance___oct__
+# global object gs___or__
+# global object gfunc_instance___or__
+# global object gs___pos__
+# global object gfunc_instance___pos__
+# global object gs___pow__
+# global object gfunc_instance___pow__
+# global object gs___radd__
+# global object gfunc_instance___radd__
+# global object gs___rand__
+# global object gfunc_instance___rand__
+# global object gs___rdiv__
+# global object gfunc_instance___rdiv__
+# global object gs___rdivmod__
+# global object gfunc_instance___rdivmod__
+# global object gs___repr__
+# global object gfunc_instance___repr__
+# global object gs___rfloordiv__
+# global object gfunc_instance___rfloordiv__
+# global object gs___rlshift__
+# global object gfunc_instance___rlshift__
+# global object gs___rmod__
+# global object gfunc_instance___rmod__
+# global object gs___rmul__
+# global object gfunc_instance___rmul__
+# global object gs___ror__
+# global object gfunc_instance___ror__
+# global object gs___rpow__
+# global object gfunc_instance___rpow__
+# global object gs___rrshift__
+# global object gfunc_instance___rrshift__
+# global object gs___rshift__
+# global object gfunc_instance___rshift__
+# global object gs___rsub__
+# global object gfunc_instance___rsub__
+# global object gs___rtruediv__
+# global object gfunc_instance___rtruediv__
+# global object gs___rxor__
+# global object gfunc_instance___rxor__
+# global object gs___setattr__
+# global object gfunc_instance___setattr__
+# global object gs___setitem__
+# global object gfunc_instance___setitem__
+# global object gs___str__
+# global object gfunc_instance___str__
+# global object gs___sub__
+# global object gfunc_instance___sub__
+# global object gs___truediv__
+# global object gfunc_instance___truediv__
+# global object gs___xor__
+# global object gfunc_instance___xor__
+# global object gs_next
+# global object gfunc_instance_next
+# global object gfunc_classobj___call__
+# global object gfunc_classobj___delattr__
+# global object gfunc_classobj___getattribute__
+# global object gfunc_classobj___repr__
+# global object gfunc_classobj___setattr__
+# global object gfunc_classobj___str__
##SECTION##
#*************************************************************
@@ -7540,7 +7539,6 @@
del m.__itruediv__
m.gs___iter___returned_non_iterator_o = space.wrap('__iter__ returned non-iterator of type %s')
m.gs_iteration_over_non_sequence = space.wrap('iteration over non-sequence')
- m.gs__seqiter = space.wrap('_seqiter')
del m.__iter__
del m.__isub__
del m.__irshift__
More information about the Pypy-commit
mailing list