[Python-modules-commits] [python-multidict] 01/03: Import python-multidict_3.1.3.orig.tar.gz
Piotr Ożarowski
piotr at moszumanska.debian.org
Tue Jul 18 06:26:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch master
in repository python-multidict.
commit 9fe49951f05b64b2992082ee4d9724faa300e8b1
Author: Piotr Ożarowski <piotr at debian.org>
Date: Tue Jul 18 08:23:03 2017 +0200
Import python-multidict_3.1.3.orig.tar.gz
---
CHANGES.rst | 11 ++++
Makefile | 12 +++--
PKG-INFO | 21 +++++++-
README.rst | 8 +++
multidict.egg-info/PKG-INFO | 21 +++++++-
multidict.egg-info/SOURCES.txt | 2 +-
multidict/__init__.py | 2 +-
multidict/__init__.pyi | 64 ++++++------------------
multidict/_istr.cpython-34m.so | Bin 30786 -> 0 bytes
multidict/_istr.cpython-35m-x86_64-linux-gnu.so | Bin 0 -> 31042 bytes
10 files changed, 84 insertions(+), 57 deletions(-)
diff --git a/CHANGES.rst b/CHANGES.rst
index 2046d03..da6e46b 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,14 @@
+3.1.3 (2017-07-14)
+------------------
+
+* Fix build
+
+3.1.2 (2017-07-14)
+------------------
+
+* Fix type annotations
+
+
3.1.1 (2017-07-09)
------------------
diff --git a/Makefile b/Makefile
index 476e1a7..40ba6e0 100644
--- a/Makefile
+++ b/Makefile
@@ -20,20 +20,24 @@ rmcache:
rm -rf tests/__pycache__
-test: flake .develop rmcache
+mypy: .develop
+ mypy multidict
+
+
+test: flake .develop rmcache mypy
pytest -q ./tests/
-vtest: flake .develop rmcache
+vtest: flake .develop rmcache mypy
pytest -s -v ./tests/
cov cover coverage:
tox
-cov-dev: .develop rmcache
+cov-dev: .develop rmcache mypy
pytest --cov=multidict --cov-report=term --cov-report=html tests
@echo "open file://`pwd`/htmlcov/index.html"
-cov-dev-full: .develop rmcache
+cov-dev-full: .develop rmcache mypy
AIOHTTPMULTIDICT_NO_EXTENSIONS=1 pytest --cov=multidict --cov-append tests
pytest --cov=multidict --cov-report=term --cov-report=html tests
@echo "open file://`pwd`/htmlcov/index.html"
diff --git a/PKG-INFO b/PKG-INFO
index e63aa40..7e93d9c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: multidict
-Version: 3.1.1
+Version: 3.1.3
Summary: multidict implementation
Home-page: https://github.com/aio-libs/multidict/
Author: Andrew Svetlov
@@ -10,6 +10,14 @@ Description: =========
multidict
=========
+ .. image:: https://travis-ci.org/aio-libs/multidict.svg?branch=master
+ :target: https://travis-ci.org/aio-libs/multidict
+ :align: right
+ .. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
+ :target: https://codecov.io/gh/aio-libs/multidict
+ .. image:: https://badges.gitter.im/Join%20Chat.svg
+ :target: https://gitter.im/aio-libs/Lobby
+ :alt: Chat on Gitter
Multidicts are useful for working with HTTP headers, URL
query args etc.
@@ -62,6 +70,17 @@ Description: =========
.. _aiohttp: https://github.com/KeepSafe/aiohttp
.. _Cython: http://cython.org/
+ 3.1.3 (2017-07-14)
+ ------------------
+
+ * Fix build
+
+ 3.1.2 (2017-07-14)
+ ------------------
+
+ * Fix type annotations
+
+
3.1.1 (2017-07-09)
------------------
diff --git a/README.rst b/README.rst
index 4f82d8e..b807faf 100644
--- a/README.rst
+++ b/README.rst
@@ -2,6 +2,14 @@
multidict
=========
+.. image:: https://travis-ci.org/aio-libs/multidict.svg?branch=master
+ :target: https://travis-ci.org/aio-libs/multidict
+ :align: right
+.. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
+ :target: https://codecov.io/gh/aio-libs/multidict
+.. image:: https://badges.gitter.im/Join%20Chat.svg
+ :target: https://gitter.im/aio-libs/Lobby
+ :alt: Chat on Gitter
Multidicts are useful for working with HTTP headers, URL
query args etc.
diff --git a/multidict.egg-info/PKG-INFO b/multidict.egg-info/PKG-INFO
index e63aa40..7e93d9c 100644
--- a/multidict.egg-info/PKG-INFO
+++ b/multidict.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: multidict
-Version: 3.1.1
+Version: 3.1.3
Summary: multidict implementation
Home-page: https://github.com/aio-libs/multidict/
Author: Andrew Svetlov
@@ -10,6 +10,14 @@ Description: =========
multidict
=========
+ .. image:: https://travis-ci.org/aio-libs/multidict.svg?branch=master
+ :target: https://travis-ci.org/aio-libs/multidict
+ :align: right
+ .. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
+ :target: https://codecov.io/gh/aio-libs/multidict
+ .. image:: https://badges.gitter.im/Join%20Chat.svg
+ :target: https://gitter.im/aio-libs/Lobby
+ :alt: Chat on Gitter
Multidicts are useful for working with HTTP headers, URL
query args etc.
@@ -62,6 +70,17 @@ Description: =========
.. _aiohttp: https://github.com/KeepSafe/aiohttp
.. _Cython: http://cython.org/
+ 3.1.3 (2017-07-14)
+ ------------------
+
+ * Fix build
+
+ 3.1.2 (2017-07-14)
+ ------------------
+
+ * Fix type annotations
+
+
3.1.1 (2017-07-09)
------------------
diff --git a/multidict.egg-info/SOURCES.txt b/multidict.egg-info/SOURCES.txt
index 2eef1ea..52674e8 100644
--- a/multidict.egg-info/SOURCES.txt
+++ b/multidict.egg-info/SOURCES.txt
@@ -13,7 +13,7 @@ docs/spelling_wordlist.txt
multidict/__init__.py
multidict/__init__.pyi
multidict/_istr.c
-multidict/_istr.cpython-34m.so
+multidict/_istr.cpython-35m-x86_64-linux-gnu.so
multidict/_multidict.c
multidict/_multidict.pyx
multidict/_multidict_py.py
diff --git a/multidict/__init__.py b/multidict/__init__.py
index ee574a0..df99b31 100644
--- a/multidict/__init__.py
+++ b/multidict/__init__.py
@@ -10,7 +10,7 @@ import os
__all__ = ('MultiDictProxy', 'CIMultiDictProxy',
'MultiDict', 'CIMultiDict', 'upstr', 'istr')
-__version__ = '3.1.1'
+__version__ = '3.1.3'
if bool(os.environ.get('MULTIDICT_NO_EXTENSIONS')):
diff --git a/multidict/__init__.pyi b/multidict/__init__.pyi
index 0699739..e9f05d2 100644
--- a/multidict/__init__.pyi
+++ b/multidict/__init__.pyi
@@ -12,7 +12,7 @@ _S = Union[str, istr]
_T = TypeVar('_T')
-class MultiDict(MutableMapping[_S, _T], Generic[_T]):
+class MultiDict(MutableMapping[_S, _T]):
@overload
def __init__(self) -> None: ...
@overload
@@ -23,40 +23,16 @@ class MultiDict(MutableMapping[_S, _T], Generic[_T]):
def getall(self, key: _S, default: _T=...) -> List[_T]: ...
def getone(self, key: _S, default: _T=...) -> _T: ...
- def __getitem__(self, key: _S) -> _T: ...
-
- def get(self, key: _S, default: Optional[_T]=None) -> _T: ...
-
- def __iter__(self) -> Iterator[_S]: ...
- def __len__(self) -> int: ...
- def keys(self) -> KeysView[_S]: ...
- def items(self) -> ItemsView[_S, _T]: ...
- def values(self) -> ValuesView[_T]: ...
-
- def __eq__(self, other) -> bool: ...
- def __contains__(self, key) -> bool: ...
- def __repr__(self) -> str: ...
-
def copy(self) -> MultiDict: ...
def add(self, key: _S, value: _T) -> None: ...
@overload
- def __extend__(self, dct: MultiDict[_T]) -> None: ...
- @overload
- def __extend__(self, map: Mapping[_S, _T]) -> None: ...
+ def extend(self, dct: MultiDict[_T]) -> None: ...
@overload
- def __extend__(self, iterable: Iterable[Tuple[_S, _T]]) -> None: ...
-
- def clear(self) -> None: ...
- def __setitem__(self, key: _S, value) -> None: ...
- def __delitem__(self, key: _S) -> None: ...
- def setdefault(self, key: _S, default: _T=None) -> _T: ...
-
- @overload
- def pop(self, key: _S) -> _T: ...
+ def extend(self, map: Mapping[_S, _T]) -> None: ...
@overload
- def pop(self, key: _S, default: _T=...) -> _T: ...
+ def extend(self, iterable: Iterable[Tuple[_S, _T]]) -> None: ...
@overload
def popone(self, key: _S) -> _T: ...
@@ -69,35 +45,25 @@ class MultiDict(MutableMapping[_S, _T], Generic[_T]):
def popall(self, key: _S, default: _T=...) -> List[_T]: ...
- def popitem(self) -> Tuple[_S, _T]: ...
-
-
-class CIMultiDict(MultiDict[_T], Generic[_T]):
+class CIMultiDict(MultiDict[_T]):
def copy(self) -> CIMultiDict[_T]: ...
-class MultiDictProxy(Mapping[_S, _T], Generic[_T]):
+class MultiDictProxy(Mapping[_S, _T]):
+ def __init__(self, arg: Union[MultiDict[_T], MultiDictProxy[_T]]) -> None: ...
+
def getall(self, key: _S, default: _T=...) -> List[_T]: ...
def getone(self, key: _S, default: _T=...) -> _T: ...
- def __getitem__(self, key: _S) -> _T: ...
-
- def get(self, key: _S, default: Optional[_T]=None) -> _T: ...
-
- def __iter__(self) -> Iterator[_S]: ...
- def __len__(self) -> int: ...
- def keys(self) -> KeysView[_S]: ...
- def items(self) -> ItemsView[_S, _T]: ...
- def values(self) -> ValuesView[_T]: ...
-
- def __eq__(self, other) -> bool: ...
- def __contains__(self, key) -> bool: ...
- def __repr__(self) -> str: ...
-
def copy(self) -> MultiDictProxy: ...
- def __init__(self, arg: Union[MultiDict[_T], MultiDictProxy[_T]]) -> None: ...
-class CIMultiDictProxy(MultiDictProxy[_T], Generic[_T]):
+class CIMultiDictProxy(MultiDictProxy[_T]):
def copy(self) -> CIMultiDictProxy[_T]: ...
+
+
+def getversion(md: Union[MultiDict[_T],
+ CIMultiDict[_T],
+ MultiDictProxy[_T],
+ CIMultiDictProxy[_T]]) -> int: ...
diff --git a/multidict/_istr.cpython-34m.so b/multidict/_istr.cpython-34m.so
deleted file mode 100755
index cc98e17..0000000
Binary files a/multidict/_istr.cpython-34m.so and /dev/null differ
diff --git a/multidict/_istr.cpython-35m-x86_64-linux-gnu.so b/multidict/_istr.cpython-35m-x86_64-linux-gnu.so
new file mode 100755
index 0000000..2efb09c
Binary files /dev/null and b/multidict/_istr.cpython-35m-x86_64-linux-gnu.so differ
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-multidict.git
More information about the Python-modules-commits
mailing list