(2018-05-22.Python从Zero到One)6、(爬虫)scrapy-Redis分布式组件__1.6.3源码分析参考:Picklecompat
picklecompat.py"""Apicklewrappermodulewithprotocol=-1bydefault."""try:importcPickleaspickle#PY2exceptImportError:importpickledefloads(s):returnpickle.loads(s)defdumps(obj):returnpickle.dumps(obj,proto