population.difference_update(some_list)
some_dict = dict(zip(sample(population, n), sample(list(range(1, 100000)), n)))
yield 'Population Size of {}'.format(n), (some_list, some_dict), {}
Optimize the performance of dictionary membership for a list of Keys