8950b75379fd656fbc180b6d004a302c03ec698c,mathics/builtin/lists.py,_GatherOperation,apply,#_GatherOperation#Any#Any#Any#,2532

Before Change


            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:

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()))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: 6441aa3d9929de1fdce6384d997d17900f03ec2f
Time: 2016-08-16
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/image.py
Class Name: ImageCreate
Method Name: apply


Project Name: mathics/Mathics
Commit Name: 5a12ef6f6acdee7bd5c13caffb8c5120bf699922
Time: 2016-08-23
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/graphics.py
Class Name: ColorConvert
Method Name: apply