ktongue's picture
download
raw
422 Bytes
import os
import platform
NO_EXTENSIONS = bool(os.environ.get("MULTIDICT_NO_EXTENSIONS"))
PYPY = platform.python_implementation() == "PyPy"
USE_EXTENSIONS = not NO_EXTENSIONS and not PYPY
if USE_EXTENSIONS:
try:
from . import _multidict # type: ignore[attr-defined] # noqa: F401
except ImportError: # pragma: no cover
# FIXME: Refactor for coverage. See #837.
USE_EXTENSIONS = False

Xet Storage Details

Size:
422 Bytes
·
Xet hash:
e248a7c5e60be794adf207f5ff73db8befce801ba7c4684d632cfc6fb4e59a95

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.