fails_filter()
group_attempts()
reduce_to_failures()
pkgcore.resolver.state module
pkgcore.restrictions package