Ravenports generated: 14 Jan 2024 04:52
[ravenports.git] / bucket_67 / python-backports_abc
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-backports_abc
4 VERSION=                0.5
5 KEYWORDS=               python
6 VARIANTS=               v11 v12
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]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPIWHL/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7
14 DISTFILE[1]=            backports_abc-0.5-py2.py3-none-any.whl:main
15 DF_INDEX=               1
16 SPKGS[v11]=             single
17 SPKGS[v12]=             single
18
19 OPTIONS_AVAILABLE=      PY311 PY312
20 OPTIONS_STANDARD=       none
21 VOPTS[v11]=             PY311=ON PY312=OFF
22 VOPTS[v12]=             PY311=OFF PY312=ON
23
24 DISTNAME=               backports_abc-0.5.dist-info
25
26 GENERATED=              yes
27
28 [PY311].USES_ON=                        python:v11,wheel
29
30 [PY312].USES_ON=                        python:v12,wheel
31
32 [FILE:2131:descriptions/desc.single]
33 =============
34 ABC-Backports
35 =============
36
37 Usage:
38
39 .. code-block:: python
40
41     try:
42         # ABCs live in "collections.abc" in Python >= 3.3
43         from collections.abc import Coroutine, Generator
44     except ImportError:
45         # fall back to import from "backports_abc"
46         from backports_abc import Coroutine, Generator
47
48 You can also install the ABCs into the stdlib by calling the ``patch()``
49 function:
50
51 .. code-block:: python
52
53     import backports_abc
54     backports_abc.patch()
55
56     try:
57         # ABCs live in "collections.abc" in Python >= 3.3
58         from collections.abc import Coroutine, Generator
59     except ImportError:
60         # fall back to import from "collections" in Python <= 3.2
61         from backports_abc import Coroutine, Generator
62
63 Currently, ``patch()`` provides the following names if missing:
64
65 * ``collections.abc.Generator``
66 * ``collections.abc.Awaitable``
67 * ``collections.abc.Coroutine``
68 * ``inspect.isawaitable(obj)
69
70 All of them are also available directly from the backports_abc``
71 module namespace.
72
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.
76
77 The names that were previously patched by ``patch() can be queried
78 through the mapping in backports_abc.PATCHED``.
79
80 Changelog
81 =========
82
83 0.5 (2016-11-12)
84 ----------------
85
86 * support old-style (mro-missing) classes
87
88 0.4 (2015-09-14)
89 ----------------
90
91 * direct wheel building support
92
93 * make all names available at the module level instead of requiring
94 patching
95
96 0.3 (2015-07-03)
97 ----------------
98
99 * removed patching of ``inspect.iscoroutine()`` as it is not ABC based
100
101 0.2 (2015-07-03)
102 ----------------
103
104 * require explicit ``backports_abc.patch()`` call to do the patching
105   (avoids side-effects on import and allows future configuration)
106
107 * provide access to patched names through global PATCHED dict
108
109 * add ABC based implementations of inspect.iscoroutine() and
110   inspect.isawaitable()
111
112 0.1 (2015-06-24)
113 ----------------
114
115 * initial public release
116
117 * provided ABCs: Generator, Coroutine, Awaitable
118
119
120 [FILE:117:distinfo]
121 52089f97fe7a9aa0d3277b220c1d730a85aefd64e1b2664696fe35317c5470a7         5232 backports_abc-0.5-py2.py3-none-any.whl
122