Skip to content

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

deprecate retry_on_eintr (#4683)

Marc Hernándezb97a39fda0b7
diff --git a/scrapy/utils/python.py b/scrapy/utils/python.py
index afa8a8135..9204977cf 100644
--- a/scrapy/utils/python.py
+++ b/scrapy/utils/python.py
@@ -285,6 +285,7 @@ class WeakKeyCache:
return self._weakdict[key]
+@deprecated
def retry_on_eintr(function, *args, **kw):
"""Run a function and retry it while getting EINTR errors"""
while True: