# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-backports_abc VERSION= 0.5 KEYWORDS= python VARIANTS= py27 py36 py37 SDESC[py36]= Containers Base Classes backported fixes (PY 36) SDESC[py37]= Containers Base Classes backported fixes (PY 37) SDESC[py27]= Containers Base Classes backported fixes (PY 27) HOMEPAGE= https://github.com/cython/backports_abc CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPI/b/backports_abc DISTFILE[1]= backports_abc-0.5.tar.gz:main DF_INDEX= 1 SPKGS[py36]= single SPKGS[py37]= single SPKGS[py27]= single OPTIONS_AVAILABLE= PY27 PY36 PY37 OPTIONS_STANDARD= none VOPTS[py36]= PY27=OFF PY36=ON PY37=OFF VOPTS[py37]= PY27=OFF PY36=OFF PY37=ON VOPTS[py27]= PY27=ON PY36=OFF PY37=OFF DISTNAME= backports_abc-0.5 GENERATED= yes [PY36].USES_ON= python:py36 [PY37].USES_ON= python:py37 [PY27].USES_ON= python:py27 [FILE:2151:descriptions/desc.single] ============= ABC-Backports ============= Usage: .. code-block:: python try: # ABCs live in "collections.abc" in Python >= 3.3 from collections.abc import Coroutine, Generator except ImportError: # fall back to import from "backports_abc" from backports_abc import Coroutine, Generator You can also install the ABCs into the stdlib by calling the ``patch()`` function: .. code-block:: python import backports_abc backports_abc.patch() try: # ABCs live in "collections.abc" in Python >= 3.3 from collections.abc import Coroutine, Generator except ImportError: # fall back to import from "collections" in Python <= 3.2 from backports_abc import Coroutine, Generator Currently, ``patch()`` provides the following names if missing: * ``collections.abc.Generator`` * ``collections.abc.Awaitable`` * ``collections.abc.Coroutine`` * ``inspect.isawaitable(obj)`` All of them are also available directly from the ``backports_abc`` module namespace. In Python 2.x and Python 3.2, it patches the ``collections`` module instead of the ``collections.abc`` module. Any names that are already available when importing this module will not be overwritten. The names that were previously patched by ``patch()`` can be queried through the mapping in ``backports_abc.PATCHED``. Changelog ========= 0.5 (2016-11-12) ---------------- * support old-style (mro-missing) classes 0.4 (2015-09-14) ---------------- * direct wheel building support * make all names available at the module level instead of requiring patching 0.3 (2015-07-03) ---------------- * removed patching of ``inspect.iscoroutine()`` as it is not ABC based 0.2 (2015-07-03) ---------------- * require explicit ``backports_abc.patch()`` call to do the patching (avoids side-effects on import and allows future configuration) * provide access to patched names through global ``PATCHED`` dict * add ABC based implementations of inspect.iscoroutine() and inspect.isawaitable() 0.1 (2015-06-24) ---------------- * initial public release * provided ABCs: Generator, Coroutine, Awaitable [FILE:103:distinfo] 033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde 9807 backports_abc-0.5.tar.gz