update shared dependencies
This commit is contained in:
parent
d4d3d82be3
commit
736cd598a8
521 changed files with 45146 additions and 22574 deletions
|
|
@ -0,0 +1,84 @@
|
|||
=============
|
||||
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.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
|
||||
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
pip
|
||||
|
|
@ -0,0 +1,101 @@
|
|||
Metadata-Version: 2.0
|
||||
Name: backports-abc
|
||||
Version: 0.4
|
||||
Summary: A backport of recent additions to the 'collections.abc' module.
|
||||
Home-page: https://github.com/cython/backports_abc
|
||||
Author: Stefan Behnel et al.
|
||||
Author-email: cython-devel@python.org
|
||||
License: UNKNOWN
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: License :: OSI Approved :: Python Software Foundation License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
|
||||
=============
|
||||
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.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
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
backports_abc.py,sha256=mbCAmZnNay6Xudwu7KSetUPDbbImIfROXSSve8izAEI,5277
|
||||
backports_abc-0.4.dist-info/DESCRIPTION.rst,sha256=LhLJKmQBL5GC4g-6f-JhfIY7qNmsd1ROa3n2BNb1syU,2074
|
||||
backports_abc-0.4.dist-info/METADATA,sha256=4yoBi66MYiwltr2oDC2O9r__fFUWf8SDlVxZUPbt8ZU,2716
|
||||
backports_abc-0.4.dist-info/top_level.txt,sha256=VrQEXq17Ce9X1jfsstW6gYD3gyq3Kjio-8wFYildkzo,14
|
||||
backports_abc-0.4.dist-info/RECORD,,
|
||||
backports_abc-0.4.dist-info/metadata.json,sha256=AIEgf2dZKeoBWp4UUzRRrUljLI9o_lXFgb09KXQXG3w,760
|
||||
backports_abc-0.4.dist-info/WHEEL,sha256=AvR0WeTpDaxT645bl5FQxUK6NPsTls2ttpcGJg3j1Xg,110
|
||||
/var/lib/lxc/openmedialibrary/rootfs/srv/client/platform/Shared/p34/lib/python3.4/site-packages/backports_abc-0.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
__pycache__/backports_abc.cpython-34.pyc,,
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
Wheel-Version: 1.0
|
||||
Generator: bdist_wheel (0.24.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py2-none-any
|
||||
Tag: py3-none-any
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"classifiers": ["Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3"], "metadata_version": "2.0", "extensions": {"python.details": {"contacts": [{"email": "cython-devel@python.org", "name": "Stefan Behnel et al.", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "https://github.com/cython/backports_abc"}}}, "summary": "A backport of recent additions to the 'collections.abc' module.", "version": "0.4", "name": "backports-abc", "generator": "bdist_wheel (0.24.0)"}
|
||||
|
|
@ -0,0 +1 @@
|
|||
backports_abc
|
||||
Loading…
Add table
Add a link
Reference in a new issue