"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/pip/_vendor/tenacity/__init__.py" between
pip-21.1.2.tar.gz and pip-21.1.3.tar.gz

About: pip is the package installer for Python.

__init__.py  (pip-21.1.2):__init__.py  (pip-21.1.3)
skipping to change at line 25 skipping to change at line 25
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
try: try:
from inspect import iscoroutinefunction from inspect import iscoroutinefunction
except ImportError: except ImportError:
iscoroutinefunction = None iscoroutinefunction = None
try: # Replace a conditional import with a hard-coded None so that pip does
import tornado # not attempt to use tornado even if it is present in the environment.
except ImportError: # If tornado is non-None, tenacity will attempt to execute some code
tornado = None # that is sensitive to the version of tornado, which could break pip
# if an old version is found.
tornado = None
import sys import sys
import threading import threading
import typing as t import typing as t
import warnings import warnings
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod
from concurrent import futures from concurrent import futures
from pip._vendor import six from pip._vendor import six
 End of changes. 1 change blocks. 
4 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)