diff options
| author | Jack Nagel | 2013-07-22 11:41:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-22 11:41:46 -0500 |
| commit | 90ec8297d3bc35de1c3dc46b611f0449dacf6917 (patch) | |
| tree | bac0fe192e32861e8e4c3dfd2bc4d01a0e7cc11d /Library/Homebrew/test/test_formula_validation.rb | |
| parent | 0b77b3a1349efd539c3a1e3eb6a38bcb0f5f7fba (diff) | |
| download | homebrew-90ec8297d3bc35de1c3dc46b611f0449dacf6917.tar.bz2 | |
Fix python dependency hash equality
eql? should not depend on the hash value as hash values of uneql objects
can collide, but eql values may only collide for objects that are
actually eql.
Further, python dependencies are uniquely identified by the combination
of the name and imports attributes, so there is no reason to involved
the expensive binary computation for simple equality checks.
Fixes #20840.
Diffstat (limited to 'Library/Homebrew/test/test_formula_validation.rb')
0 files changed, 0 insertions, 0 deletions
