depgraph: avoid atom hash collisions in dep_check
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Feb 2011 07:36:07 +0000 (23:36 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Feb 2011 04:26:00 +0000 (20:26 -0800)
commit38d668d8734de42e6c27affe16dd0e2a21af35d3
tree72b0b86b0e116d4729a2aaf998338f1d802d0084
parente76062cf65fb2cee414035f45acef66661c9f71d
depgraph: avoid atom hash collisions in dep_check

Atoms are stored in the graph as (atom, id(atom)) tuples since each
atom is considered to be a unique entity. For example, atoms that
appear identical may behave differently in USE matching, depending on
their unevaluated form. Also, specially generated virtual atoms may
appear identical while having different _orig_atom attributes.
pym/_emerge/depgraph.py
pym/portage/dep/dep_check.py