Instead of having Atom inherit from str, just emulate the interface. This
authorZac Medico <zmedico@gentoo.org>
Fri, 20 Jun 2008 14:37:49 +0000 (14:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 20 Jun 2008 14:37:49 +0000 (14:37 -0000)
commit36a91804330dca702f9d924bfa2ca98c00deb7c6
tree4619ff8be322dd4aa5b3d1e2139a149193b24e9c
parent860d9f6c5567fca195e214f6b9a3aa365cd8406a
Instead of having Atom inherit from str, just emulate the interface. This
allows us to define __slots__ (not allowed when inheriting from str) and
therefore should conserve some memory by avoiding a __dict__ attribute
on every Atom.

svn path=/main/trunk/; revision=10740
pym/portage/dep.py