Scrapy, a fast high-level web crawling & scraping framework for Python.
Clarify comment about Pyhton versions
Eugenio Lacuesta6edd4114c4e7
diff --git a/scrapy/squeues.py b/scrapy/squeues.pyindex 0b8f6af7d..d2074a457 100644--- a/scrapy/squeues.py+++ b/scrapy/squeues.py@@ -25,9 +25,9 @@ def _serializable_queue(queue_class, serialize, deserialize):def _pickle_serialize(obj):try:return pickle.dumps(obj, protocol=2)- # Python<=3.4 raises pickle.PicklingError here while- # Python>=3.5 raises AttributeError and- # Python>=3.6 raises TypeError+ # Python <= 3.4 raises pickle.PicklingError here while+ # 3.5 <= Python < 3.6 raises AttributeError and+ # Python >= 3.6 raises TypeErrorexcept (pickle.PicklingError, AttributeError, TypeError) as e:raise ValueError(str(e))