def arglist_to_dict(arglist):
    return dict(x.split('=', 1) for x in arglist)
Taken from http://docs.python.org/library/itertools.html#itertools.product
dataset/ETHPy150Open scrapy/scrapy/scrapy/utils/conf.py/arglist_to_dict--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/itercompat.py/product