Ravenports generated: 13 Jan 2019 12:09
[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=               py27 py36 py37
7 SDESC[py36]=            Containers Base Classes backported fixes (PY 36)
8 SDESC[py37]=            Containers Base Classes backported fixes (PY 37)
9 SDESC[py27]=            Containers Base Classes backported fixes (PY 27)
10 HOMEPAGE=               https://github.com/cython/backports_abc
11 CONTACT=                Python_Automaton[python@ironwolf.systems]
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            PYPI/b/backports_abc
15 DISTFILE[1]=            backports_abc-0.5.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[py36]=            single
18 SPKGS[py37]=            single
19 SPKGS[py27]=            single
20
21 OPTIONS_AVAILABLE=      PY27 PY36 PY37
22 OPTIONS_STANDARD=       none
23 VOPTS[py36]=            PY27=OFF PY36=ON PY37=OFF
24 VOPTS[py37]=            PY27=OFF PY36=OFF PY37=ON
25 VOPTS[py27]=            PY27=ON PY36=OFF PY37=OFF
26
27 DISTNAME=               backports_abc-0.5
28
29 GENERATED=              yes
30
31 [PY36].USES_ON=                         python:py36
32
33 [PY37].USES_ON=                         python:py37
34
35 [PY27].USES_ON=                         python:py27
36
37 [FILE:2151:descriptions/desc.single]
38 =============
39 ABC-Backports
40 =============
41
42 Usage:
43
44 .. code-block:: python
45
46     try:
47         # ABCs live in "collections.abc" in Python >= 3.3
48         from collections.abc import Coroutine, Generator
49     except ImportError:
50         # fall back to import from "backports_abc"
51         from backports_abc import Coroutine, Generator
52
53 You can also install the ABCs into the stdlib by calling the ``patch()``
54 function:
55
56 .. code-block:: python
57
58     import backports_abc
59     backports_abc.patch()
60
61     try:
62         # ABCs live in "collections.abc" in Python >= 3.3
63         from collections.abc import Coroutine, Generator
64     except ImportError:
65         # fall back to import from "collections" in Python <= 3.2
66         from backports_abc import Coroutine, Generator
67
68 Currently, ``patch()`` provides the following names if missing:
69
70 * ``collections.abc.Generator``
71 * ``collections.abc.Awaitable``
72 * ``collections.abc.Coroutine``
73 * ``inspect.isawaitable(obj)``
74
75 All of them are also available directly from the ``backports_abc``
76 module namespace.
77
78 In Python 2.x and Python 3.2, it patches the ``collections`` module
79 instead of the ``collections.abc`` module.  Any names that are already
80 available when importing this module will not be overwritten.
81
82 The names that were previously patched by ``patch()`` can be queried
83 through the mapping in ``backports_abc.PATCHED``.
84
85 Changelog
86 =========
87
88 0.5 (2016-11-12)
89 ----------------
90
91 * support old-style (mro-missing) classes
92
93 0.4 (2015-09-14)
94 ----------------
95
96 * direct wheel building support
97
98 * make all names available at the module level instead of requiring
99 patching
100
101
102 0.3 (2015-07-03)
103 ----------------
104
105 * removed patching of ``inspect.iscoroutine()`` as it is not ABC based
106
107
108 0.2 (2015-07-03)
109 ----------------
110
111 * require explicit ``backports_abc.patch()`` call to do the patching
112   (avoids side-effects on import and allows future configuration)
113
114 * provide access to patched names through global ``PATCHED`` dict
115
116 * add ABC based implementations of inspect.iscoroutine() and
117   inspect.isawaitable()
118
119
120 0.1 (2015-06-24)
121 ----------------
122
123 * initial public release
124
125 * provided ABCs: Generator, Coroutine, Awaitable
126
127
128
129 [FILE:103:distinfo]
130 033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde         9807 backports_abc-0.5.tar.gz
131