deprecate retry_on_eintr (#4683)

This commit is contained in:
Marc Hernández 2020-07-16 17:38:22 +02:00 committed by GitHub
parent 07470e1a3c
commit b97a39fda0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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: