1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-backports_abc
7 SDESC[v11]= Containers Base Classes backported fixes (3.11)
8 SDESC[v12]= Containers Base Classes backported fixes (3.12)
9 HOMEPAGE= https://github.com/cython/backports_abc
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7
14 DISTFILE[1]= backports_abc-0.5-py2.py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 DISTNAME= backports_abc-0.5.dist-info
28 [PY311].USES_ON= python:v11,wheel
30 [PY312].USES_ON= python:v12,wheel
32 [FILE:2131:descriptions/desc.single]
39 .. code-block:: python
42 # ABCs live in "collections.abc" in Python >= 3.3
43 from collections.abc import Coroutine, Generator
45 # fall back to import from "backports_abc"
46 from backports_abc import Coroutine, Generator
48 You can also install the ABCs into the stdlib by calling the ``patch()``
51 .. code-block:: python
57 # ABCs live in "collections.abc" in Python >= 3.3
58 from collections.abc import Coroutine, Generator
60 # fall back to import from "collections" in Python <= 3.2
61 from backports_abc import Coroutine, Generator
63 Currently, ``patch()`` provides the following names if missing:
65 * ``collections.abc.Generator``
66 * ``collections.abc.Awaitable``
67 * ``collections.abc.Coroutine``
68 * ``inspect.isawaitable(obj)
70 All of them are also available directly from the backports_abc``
73 In Python 2.x and Python 3.2, it patches the collections module
74 instead of the ``collections.abc`` module. Any names that are already
75 available when importing this module will not be overwritten.
77 The names that were previously patched by ``patch() can be queried
78 through the mapping in backports_abc.PATCHED``.
86 * support old-style (mro-missing) classes
91 * direct wheel building support
93 * make all names available at the module level instead of requiring
99 * removed patching of ``inspect.iscoroutine()`` as it is not ABC based
104 * require explicit ``backports_abc.patch()`` call to do the patching
105 (avoids side-effects on import and allows future configuration)
107 * provide access to patched names through global PATCHED dict
109 * add ABC based implementations of inspect.iscoroutine() and
110 inspect.isawaitable()
115 * initial public release
117 * provided ABCs: Generator, Coroutine, Awaitable
121 52089f97fe7a9aa0d3277b220c1d730a85aefd64e1b2664696fe35317c5470a7 5232 backports_abc-0.5-py2.py3-none-any.whl