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>
Sun, 13 Feb 2011 07:36:07 +0000 (23:36 -0800)
commit37b9c61f2d16d09a4ae1bcb61d63af4e64b667f4
treee5b99c6bd340285c5ae13977fa856214e70898fa
parentc42004eb552c9117d221b0e2063e8696efca35dc
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