aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_pathname.rb
diff options
context:
space:
mode:
authorJack Nagel2013-07-22 11:41:46 -0500
committerJack Nagel2013-07-22 11:41:46 -0500
commite33cdb2f8bd8d3e8a4862a64c3a8a056a03a45da (patch)
tree48d37bf440d8fc905722cda8cd58b8231513e812 /Library/Homebrew/test/test_pathname.rb
parentb0138b9c9b8ac12deaebd83b0c665c46c16815c8 (diff)
downloadbrew-e33cdb2f8bd8d3e8a4862a64c3a8a056a03a45da.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 Homebrew/homebrew#20840.
Diffstat (limited to 'Library/Homebrew/test/test_pathname.rb')
0 files changed, 0 insertions, 0 deletions