Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

added more information to deprecation notice

Pablo Hoffmandedd6b2256fa
diff --git a/scrapy/core/exceptions.py b/scrapy/core/exceptions.py
index 9901069d6..b32b72774 100644
--- a/scrapy/core/exceptions.py
+++ b/scrapy/core/exceptions.py
@@ -1,5 +1,5 @@
from scrapy.exceptions import *
import warnings
-warnings.warn("scrapy.core.exceptions is deprecated, use scrapy.exceptions instead", \
+warnings.warn("scrapy.core.exceptions is deprecated and will be removed in Scrapy 0.11, use scrapy.exceptions instead", \
DeprecationWarning, stacklevel=2)
diff --git a/scrapy/core/signals.py b/scrapy/core/signals.py
index 056394109..c06f83a69 100644
--- a/scrapy/core/signals.py
+++ b/scrapy/core/signals.py
@@ -1,5 +1,5 @@
from scrapy.signals import *
import warnings
-warnings.warn("scrapy.core.signals is deprecated, use scrapy.signals instead", \
+warnings.warn("scrapy.core.signals is deprecated and will be removed in Scrapy 0.11, use scrapy.signals instead", \
DeprecationWarning, stacklevel=2)