Scrapy, a fast high-level web crawling & scraping framework for Python.
Restored scrapy.utils.py26 module for backwards compatibility, with a deprecation message. This is needed because the module was used a lot by users and the change causes too much trouble
Pablo Hoffman45685ea6cdc1
diff --git a/scrapy/utils/py26.py b/scrapy/utils/py26.pynew file mode 100644index 000000000..1db548d8e--- /dev/null+++ b/scrapy/utils/py26.py@@ -0,0 +1,10 @@+import json+from shutil import copytree, ignore_patterns+from multiprocessing import cpu_count+from pkgutil import get_data++from scrapy.exceptions import ScrapyDeprecationWarning++import warnings+warnings.warn("Module `scrapy.utils.py26` is deprecated and will be removed in Scrapy 0.17",+ ScrapyDeprecationWarning, stacklevel=2)