8950b75379fd656fbc180b6d004a302c03ec698c,mathics/builtin/lists.py,_GatherOperation,apply,#_GatherOperation#Any#Any#Any#,2532
Before Change
def apply(self, list, test, evaluation):
"%(name)s[list_, test_]"
if list.is_atom():
expr = Expression(self.get_name(), list, test)
return evaluation.message(self.get_name(), "normal", 1, expr)
if list.get_head_name() != "System`List":
expr = Expression(self.get_name(), list, test)
return evaluation.message(self.get_name(), "list", expr, 1)
if _is_sameq(test):
return self._gather(list, _FastEquivalence())
else:
return self._gather(list, _SlowEquivalence(test, evaluation, self.get_name()))
After Change
def apply(self, values, test, evaluation):
"%(name)s[values_, test_]"
if not self._check_list(values, test, evaluation):
return
if _is_sameq(test):
return self._gather(values, values, _FastEquivalence())
else:
return self._gather(values, values, _SlowEquivalence(test, evaluation, self.get_name()))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: mathics/Mathics
Commit Name: 8950b75379fd656fbc180b6d004a302c03ec698c
Time: 2016-09-18
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/lists.py
Class Name: _GatherOperation
Method Name: apply
Project Name: mathics/Mathics
Commit Name: 1fa35c482c152010a77e32c349030847653d67ce
Time: 2016-08-10
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/specialfunctions.py
Class Name: AiryAiZero
Method Name: apply_N
Project Name: mathics/Mathics
Commit Name: 1fa35c482c152010a77e32c349030847653d67ce
Time: 2016-08-10
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/specialfunctions.py
Class Name: AiryBiZero
Method Name: apply_N