You probably want itertools.product, not itertools.combinations; something like this:
self.ids = itertools.product(*[string.ascii_uppercase] * 6)
It's a little ugly because the signature of itertools.product is stupid, but I think that should do the trick. Otherwise, I think this looks good.
« Back to merge proposal
You probably want itertools.product, not itertools. combinations; something like this:
self.ids = itertools. product( *[string. ascii_uppercase ] * 6)
It's a little ugly because the signature of itertools.product is stupid, but I think that should do the trick. Otherwise, I think this looks good.