[Python-modules-commits] [python-multidict] 01/05: Import python-multidict_3.2.0.orig.tar.gz

Piotr Ożarowski piotr at moszumanska.debian.org
Fri Sep 29 09:58:32 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 e08cbd5b61370c2a5c86f300a92aa5135fd1824d
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Fri Sep 29 11:11:30 2017 +0200

    Import python-multidict_3.2.0.orig.tar.gz
---
 CHANGES.rst                                     |    36 +-
 MANIFEST.in                                     |     1 +
 Makefile                                        |    10 +-
 PKG-INFO                                        |    50 +-
 README.rst                                      |    11 +-
 docs/spelling_wordlist.txt                      |     5 +
 multidict.egg-info/PKG-INFO                     |    50 +-
 multidict.egg-info/SOURCES.txt                  |    23 +-
 multidict/__init__.py                           |     2 +-
 multidict/__init__.pyi                          |    10 +
 multidict/_istr.cpython-35m-x86_64-linux-gnu.so |   Bin 31042 -> 0 bytes
 multidict/_multidict.c                          | 19252 ----------------------
 multidict/_multidict.pyx                        |    28 +-
 multidict/_multidict_py.py                      |    19 +-
 setup.py                                        |     1 +
 tests/cimultidict.pickle.0                      |    14 +
 tests/cimultidict.pickle.1                      |   Bin 0 -> 71 bytes
 tests/cimultidict.pickle.2                      |   Bin 0 -> 70 bytes
 tests/cimultidict.pickle.3                      |   Bin 0 -> 70 bytes
 tests/conftest.py                               |     8 +
 tests/gen_pickles.py                            |    17 +
 tests/multidict.pickle.0                        |    14 +
 tests/multidict.pickle.1                        |   Bin 0 -> 69 bytes
 tests/multidict.pickle.2                        |   Bin 0 -> 68 bytes
 tests/multidict.pickle.3                        |   Bin 0 -> 68 bytes
 tests/pycimultidict.pickle.0                    |    14 +
 tests/pycimultidict.pickle.1                    |   Bin 0 -> 74 bytes
 tests/pycimultidict.pickle.2                    |   Bin 0 -> 73 bytes
 tests/pycimultidict.pickle.3                    |   Bin 0 -> 73 bytes
 tests/pymultidict.pickle.0                      |    14 +
 tests/pymultidict.pickle.1                      |   Bin 0 -> 72 bytes
 tests/pymultidict.pickle.2                      |   Bin 0 -> 71 bytes
 tests/pymultidict.pickle.3                      |   Bin 0 -> 71 bytes
 tests/test_copy.py                              |    65 +
 tests/test_multidict.py                         |    20 +-
 tests/test_mypy.py                              |    12 +
 tests/test_pickle.py                            |    66 +
 37 files changed, 395 insertions(+), 19347 deletions(-)

diff --git a/CHANGES.rst b/CHANGES.rst
index da6e46b..a396d30 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,10 @@
+3.2.0 (2017-09-17)
+------------------
+
+* Fix pickling (#134)
+
+* Fix equality check when other contains more keys (#124)
+
 3.1.3 (2017-07-14)
 ------------------
 
@@ -8,7 +15,6 @@
 
 * Fix type annotations
 
-
 3.1.1 (2017-07-09)
 ------------------
 
@@ -36,25 +42,25 @@
 
   If key is not present in dictionary the pair is added to the end
 
-* Force keys to `str` instances #88
+* Force keys to `str` instances (#88)
 
-* Implement `.popall(key[, default])` #84
+* Implement `.popall(key[, default])` (#84)
 
-* `.pop()` removes only first occurence, `.popone()` added #92
+* `.pop()` removes only first occurence, `.popone()` added (#92)
 
-* Implement dict's version #86
+* Implement dict's version (#86)
 
-* Proxies are not pickable anymore #77
+* Proxies are not pickable anymore (#77)
 
 2.1.7 (2017-05-29)
 ------------------
 
-* Fix import warning on Python 3.6 #79
+* Fix import warning on Python 3.6 (#79)
 
 2.1.6 (2017-05-27)
 ------------------
 
-* Rebuild the library for fixning missing `__spec__` attribute #79
+* Rebuild the library for fixning missing `__spec__` attribute (#79)
 
 2.1.5 (2017-05-13)
 ------------------
@@ -64,7 +70,7 @@
 2.1.4 (2016-12-1)
 ------------------
 
-* Remove LICENSE filename extension @ MANIFEST.in file #31
+* Remove LICENSE filename extension @ MANIFEST.in file (#31)
 
 2.1.3 (2016-11-26)
 ------------------
@@ -81,7 +87,7 @@
 2.1.1 (2016-09-22)
 ------------------
 
-* Fix `CIMultiDict` constructor for case of accepting `istr` #11
+* Fix `CIMultiDict` constructor for case of accepting `istr` (#11)
 
 
 2.1.0 (2016-09-18)
@@ -95,21 +101,21 @@
 2.0.1 (2016-08-02)
 ------------------
 
-* Don't crash on `{} - MultiDict().keys()` and similar operations #6
+* Don't crash on `{} - MultiDict().keys()` and similar operations (#6)
 
 
 2.0.0 (2016-07-28)
 ------------------
 
 * Switch from uppercase approach for case-insensitive string to
-  `str.title()` #5
+  `str.title()` (#5)
 
 * Deprecase `upstr` class in favor of `istr` alias.
 
 1.2.2 (2016-08-02)
 ------------------
 
-* Don't crash on `{} - MultiDict().keys()` and similar operations #6
+* Don't crash on `{} - MultiDict().keys()` and similar operations (#6)
 
 1.2.1 (2016-07-21)
 ------------------
@@ -126,9 +132,9 @@
 1.1.0 (2016-07-06)
 ------------------
 
-* Don't double-iterate during MultiDict initialization #3
+* Don't double-iterate during MultiDict initialization (#3)
 
-* Fix CIMultiDict.pop: it is case insensitive now #1
+* Fix CIMultiDict.pop: it is case insensitive now (#1)
 
 * Provide manylinux wheels as well as Windows ones
 
diff --git a/MANIFEST.in b/MANIFEST.in
index cc11ccc..e58a6ab 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -6,6 +6,7 @@ graft multidict
 graft docs
 graft tests
 global-exclude *.pyc
+include multidict/*.c
 exclude multidict/_multidict.html
 exclude multidict/_multidict.*.so
 exclude multidict/_multidict.pyd
diff --git a/Makefile b/Makefile
index 40ba6e0..59868db 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Some simple testing tasks (sorry, UNIX only).
 
-.install-deps: requirements-dev.txt
-	pip install -U -r requirements-dev.txt
+.install-deps: requirements/dev.txt
+	pip install -U -r requirements/dev.txt
 	touch .install-deps
 
 flake: .install-deps
@@ -21,7 +21,7 @@ rmcache:
 
 
 mypy: .develop
-	mypy multidict
+	mypy multidict tests/test_mypy.py
 
 
 test: flake .develop rmcache mypy
@@ -61,6 +61,8 @@ clean:
 	rm -f multidict/_multidict.c
 	rm -f multidict/_multidict.*.so
 	rm -f multidict/_multidict.*.pyd
+	rm -f multidict/_istr.*.so
+	rm -f multidict/_istr.*.pyd
 	rm -rf .tox
 	rm .install-deps
 	rm .develop
@@ -74,7 +76,7 @@ doc-spelling:
 
 install:
 	pip install -U pip
-	pip install -Ur requirements-dev.txt
+	pip install -Ur requirements/dev.txt
 
 wheel_x64:
 	docker pull quay.io/pypa/manylinux1_x86_64
diff --git a/PKG-INFO b/PKG-INFO
index 7e93d9c..1b2a1e6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: multidict
-Version: 3.1.3
+Version: 3.2.0
 Summary: multidict implementation
 Home-page: https://github.com/aio-libs/multidict/
 Author: Andrew Svetlov
@@ -13,15 +13,20 @@ Description: =========
         .. image:: https://travis-ci.org/aio-libs/multidict.svg?branch=master
             :target:  https://travis-ci.org/aio-libs/multidict
             :align: right
+            :alt: Linux build @ Travis CI
+        .. image:: https://img.shields.io/appveyor/ci/asvetlov/multidict/master.svg?label=Windows%20build%20%40%20Appveyor
+            :target: https://ci.appveyor.com/project/asvetlov/multidict/branch/master
+            :align: right
+            :alt: Windows build @ Appveyor
         .. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
             :target: https://codecov.io/gh/aio-libs/multidict
+            :alt: Coverage metrics
         .. 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.
         
-        The code was extracted from aiohttp_ library.
+        Multidict is dict-like collection of *key-value pairs* where key
+        might be occurred more than once in the container.
         
         Introduction
         ------------
@@ -70,6 +75,13 @@ Description: =========
         .. _aiohttp: https://github.com/KeepSafe/aiohttp
         .. _Cython: http://cython.org/
         
+        3.2.0 (2017-09-17)
+        ------------------
+        
+        * Fix pickling (#134)
+        
+        * Fix equality check when other contains more keys (#124)
+        
         3.1.3 (2017-07-14)
         ------------------
         
@@ -80,7 +92,6 @@ Description: =========
         
         * Fix type annotations
         
-        
         3.1.1 (2017-07-09)
         ------------------
         
@@ -108,25 +119,25 @@ Description: =========
         
           If key is not present in dictionary the pair is added to the end
         
-        * Force keys to `str` instances #88
+        * Force keys to `str` instances (#88)
         
-        * Implement `.popall(key[, default])` #84
+        * Implement `.popall(key[, default])` (#84)
         
-        * `.pop()` removes only first occurence, `.popone()` added #92
+        * `.pop()` removes only first occurence, `.popone()` added (#92)
         
-        * Implement dict's version #86
+        * Implement dict's version (#86)
         
-        * Proxies are not pickable anymore #77
+        * Proxies are not pickable anymore (#77)
         
         2.1.7 (2017-05-29)
         ------------------
         
-        * Fix import warning on Python 3.6 #79
+        * Fix import warning on Python 3.6 (#79)
         
         2.1.6 (2017-05-27)
         ------------------
         
-        * Rebuild the library for fixning missing `__spec__` attribute #79
+        * Rebuild the library for fixning missing `__spec__` attribute (#79)
         
         2.1.5 (2017-05-13)
         ------------------
@@ -136,7 +147,7 @@ Description: =========
         2.1.4 (2016-12-1)
         ------------------
         
-        * Remove LICENSE filename extension @ MANIFEST.in file #31
+        * Remove LICENSE filename extension @ MANIFEST.in file (#31)
         
         2.1.3 (2016-11-26)
         ------------------
@@ -153,7 +164,7 @@ Description: =========
         2.1.1 (2016-09-22)
         ------------------
         
-        * Fix `CIMultiDict` constructor for case of accepting `istr` #11
+        * Fix `CIMultiDict` constructor for case of accepting `istr` (#11)
         
         
         2.1.0 (2016-09-18)
@@ -167,21 +178,21 @@ Description: =========
         2.0.1 (2016-08-02)
         ------------------
         
-        * Don't crash on `{} - MultiDict().keys()` and similar operations #6
+        * Don't crash on `{} - MultiDict().keys()` and similar operations (#6)
         
         
         2.0.0 (2016-07-28)
         ------------------
         
         * Switch from uppercase approach for case-insensitive string to
-          `str.title()` #5
+          `str.title()` (#5)
         
         * Deprecase `upstr` class in favor of `istr` alias.
         
         1.2.2 (2016-08-02)
         ------------------
         
-        * Don't crash on `{} - MultiDict().keys()` and similar operations #6
+        * Don't crash on `{} - MultiDict().keys()` and similar operations (#6)
         
         1.2.1 (2016-07-21)
         ------------------
@@ -198,9 +209,9 @@ Description: =========
         1.1.0 (2016-07-06)
         ------------------
         
-        * Don't double-iterate during MultiDict initialization #3
+        * Don't double-iterate during MultiDict initialization (#3)
         
-        * Fix CIMultiDict.pop: it is case insensitive now #1
+        * Fix CIMultiDict.pop: it is case insensitive now (#1)
         
         * Provide manylinux wheels as well as Windows ones
         
@@ -226,4 +237,5 @@ Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Development Status :: 5 - Production/Stable
diff --git a/README.rst b/README.rst
index b807faf..23d66af 100644
--- a/README.rst
+++ b/README.rst
@@ -5,15 +5,20 @@ multidict
 .. image:: https://travis-ci.org/aio-libs/multidict.svg?branch=master
     :target:  https://travis-ci.org/aio-libs/multidict
     :align: right
+    :alt: Linux build @ Travis CI
+.. image:: https://img.shields.io/appveyor/ci/asvetlov/multidict/master.svg?label=Windows%20build%20%40%20Appveyor
+    :target: https://ci.appveyor.com/project/asvetlov/multidict/branch/master
+    :align: right
+    :alt: Windows build @ Appveyor
 .. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
     :target: https://codecov.io/gh/aio-libs/multidict
+    :alt: Coverage metrics
 .. 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.
 
-The code was extracted from aiohttp_ library.
+Multidict is dict-like collection of *key-value pairs* where key
+might be occurred more than once in the container.
 
 Introduction
 ------------
diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt
index 27c4de2..d9491b8 100644
--- a/docs/spelling_wordlist.txt
+++ b/docs/spelling_wordlist.txt
@@ -1,4 +1,5 @@
 aiohttp
+args
 async
 autocalculated
 autodetection
@@ -25,6 +26,7 @@ Indices
 IP
 IPv
 ish
+istr
 iterable
 iterables
 javascript
@@ -32,9 +34,11 @@ json
 keepalive
 keepalives
 keepaliving
+lookups
 middleware
 middlewares
 multidict
+multidicts
 Multidicts
 multipart
 Multipart
@@ -52,6 +56,7 @@ subprotocol
 subprotocols
 Svetlov
 toolbar
+tuples
 un
 upstr
 url
diff --git a/multidict.egg-info/PKG-INFO b/multidict.egg-info/PKG-INFO
index 7e93d9c..1b2a1e6 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.3
+Version: 3.2.0
 Summary: multidict implementation
 Home-page: https://github.com/aio-libs/multidict/
 Author: Andrew Svetlov
@@ -13,15 +13,20 @@ Description: =========
         .. image:: https://travis-ci.org/aio-libs/multidict.svg?branch=master
             :target:  https://travis-ci.org/aio-libs/multidict
             :align: right
+            :alt: Linux build @ Travis CI
+        .. image:: https://img.shields.io/appveyor/ci/asvetlov/multidict/master.svg?label=Windows%20build%20%40%20Appveyor
+            :target: https://ci.appveyor.com/project/asvetlov/multidict/branch/master
+            :align: right
+            :alt: Windows build @ Appveyor
         .. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
             :target: https://codecov.io/gh/aio-libs/multidict
+            :alt: Coverage metrics
         .. 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.
         
-        The code was extracted from aiohttp_ library.
+        Multidict is dict-like collection of *key-value pairs* where key
+        might be occurred more than once in the container.
         
         Introduction
         ------------
@@ -70,6 +75,13 @@ Description: =========
         .. _aiohttp: https://github.com/KeepSafe/aiohttp
         .. _Cython: http://cython.org/
         
+        3.2.0 (2017-09-17)
+        ------------------
+        
+        * Fix pickling (#134)
+        
+        * Fix equality check when other contains more keys (#124)
+        
         3.1.3 (2017-07-14)
         ------------------
         
@@ -80,7 +92,6 @@ Description: =========
         
         * Fix type annotations
         
-        
         3.1.1 (2017-07-09)
         ------------------
         
@@ -108,25 +119,25 @@ Description: =========
         
           If key is not present in dictionary the pair is added to the end
         
-        * Force keys to `str` instances #88
+        * Force keys to `str` instances (#88)
         
-        * Implement `.popall(key[, default])` #84
+        * Implement `.popall(key[, default])` (#84)
         
-        * `.pop()` removes only first occurence, `.popone()` added #92
+        * `.pop()` removes only first occurence, `.popone()` added (#92)
         
-        * Implement dict's version #86
+        * Implement dict's version (#86)
         
-        * Proxies are not pickable anymore #77
+        * Proxies are not pickable anymore (#77)
         
         2.1.7 (2017-05-29)
         ------------------
         
-        * Fix import warning on Python 3.6 #79
+        * Fix import warning on Python 3.6 (#79)
         
         2.1.6 (2017-05-27)
         ------------------
         
-        * Rebuild the library for fixning missing `__spec__` attribute #79
+        * Rebuild the library for fixning missing `__spec__` attribute (#79)
         
         2.1.5 (2017-05-13)
         ------------------
@@ -136,7 +147,7 @@ Description: =========
         2.1.4 (2016-12-1)
         ------------------
         
-        * Remove LICENSE filename extension @ MANIFEST.in file #31
+        * Remove LICENSE filename extension @ MANIFEST.in file (#31)
         
         2.1.3 (2016-11-26)
         ------------------
@@ -153,7 +164,7 @@ Description: =========
         2.1.1 (2016-09-22)
         ------------------
         
-        * Fix `CIMultiDict` constructor for case of accepting `istr` #11
+        * Fix `CIMultiDict` constructor for case of accepting `istr` (#11)
         
         
         2.1.0 (2016-09-18)
@@ -167,21 +178,21 @@ Description: =========
         2.0.1 (2016-08-02)
         ------------------
         
-        * Don't crash on `{} - MultiDict().keys()` and similar operations #6
+        * Don't crash on `{} - MultiDict().keys()` and similar operations (#6)
         
         
         2.0.0 (2016-07-28)
         ------------------
         
         * Switch from uppercase approach for case-insensitive string to
-          `str.title()` #5
+          `str.title()` (#5)
         
         * Deprecase `upstr` class in favor of `istr` alias.
         
         1.2.2 (2016-08-02)
         ------------------
         
-        * Don't crash on `{} - MultiDict().keys()` and similar operations #6
+        * Don't crash on `{} - MultiDict().keys()` and similar operations (#6)
         
         1.2.1 (2016-07-21)
         ------------------
@@ -198,9 +209,9 @@ Description: =========
         1.1.0 (2016-07-06)
         ------------------
         
-        * Don't double-iterate during MultiDict initialization #3
+        * Don't double-iterate during MultiDict initialization (#3)
         
-        * Fix CIMultiDict.pop: it is case insensitive now #1
+        * Fix CIMultiDict.pop: it is case insensitive now (#1)
         
         * Provide manylinux wheels as well as Windows ones
         
@@ -226,4 +237,5 @@ Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Development Status :: 5 - Production/Stable
diff --git a/multidict.egg-info/SOURCES.txt b/multidict.egg-info/SOURCES.txt
index 52674e8..d37704d 100644
--- a/multidict.egg-info/SOURCES.txt
+++ b/multidict.egg-info/SOURCES.txt
@@ -13,15 +13,34 @@ docs/spelling_wordlist.txt
 multidict/__init__.py
 multidict/__init__.pyi
 multidict/_istr.c
-multidict/_istr.cpython-35m-x86_64-linux-gnu.so
-multidict/_multidict.c
 multidict/_multidict.pyx
 multidict/_multidict_py.py
 multidict.egg-info/PKG-INFO
 multidict.egg-info/SOURCES.txt
 multidict.egg-info/dependency_links.txt
 multidict.egg-info/top_level.txt
+tests/cimultidict.pickle.0
+tests/cimultidict.pickle.1
+tests/cimultidict.pickle.2
+tests/cimultidict.pickle.3
+tests/conftest.py
+tests/gen_pickles.py
+tests/multidict.pickle.0
+tests/multidict.pickle.1
+tests/multidict.pickle.2
+tests/multidict.pickle.3
+tests/pycimultidict.pickle.0
+tests/pycimultidict.pickle.1
+tests/pycimultidict.pickle.2
+tests/pycimultidict.pickle.3
+tests/pymultidict.pickle.0
+tests/pymultidict.pickle.1
+tests/pymultidict.pickle.2
+tests/pymultidict.pickle.3
+tests/test_copy.py
 tests/test_guard.py
 tests/test_istr.py
 tests/test_multidict.py
+tests/test_mypy.py
+tests/test_pickle.py
 tests/test_version.py
\ No newline at end of file
diff --git a/multidict/__init__.py b/multidict/__init__.py
index df99b31..945d6d1 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.3'
+__version__ = '3.2.0'
 
 
 if bool(os.environ.get('MULTIDICT_NO_EXTENSIONS')):
diff --git a/multidict/__init__.pyi b/multidict/__init__.pyi
index e9f05d2..3345f7f 100644
--- a/multidict/__init__.pyi
+++ b/multidict/__init__.pyi
@@ -20,6 +20,12 @@ class MultiDict(MutableMapping[_S, _T]):
     @overload
     def __init__(self, iterable: Iterable[Tuple[_S, _T]]) -> None: ...
 
+    def __getitem__(self, k: _S) -> _T: ...
+    def __setitem__(self, k: _S, v: _T) -> None: ...
+    def __delitem__(self, v: _S) -> None: ...
+    def __iter__(self) -> Iterator[_S]: ...
+    def __len__(self) -> int: ...
+
     def getall(self, key: _S, default: _T=...) -> List[_T]: ...
     def getone(self, key: _S, default: _T=...) -> _T: ...
 
@@ -52,6 +58,10 @@ class CIMultiDict(MultiDict[_T]):
 class MultiDictProxy(Mapping[_S, _T]):
     def __init__(self, arg: Union[MultiDict[_T], MultiDictProxy[_T]]) -> None: ...
 
+    def __getitem__(self, k: _S) -> _T: ...
+    def __iter__(self) -> Iterator[_S]: ...
+    def __len__(self) -> int: ...
+
     def getall(self, key: _S, default: _T=...) -> List[_T]: ...
     def getone(self, key: _S, default: _T=...) -> _T: ...
 
diff --git a/multidict/_istr.cpython-35m-x86_64-linux-gnu.so b/multidict/_istr.cpython-35m-x86_64-linux-gnu.so
deleted file mode 100755
index 2efb09c..0000000
Binary files a/multidict/_istr.cpython-35m-x86_64-linux-gnu.so and /dev/null differ
diff --git a/multidict/_multidict.c b/multidict/_multidict.c
deleted file mode 100644
index c09d155..0000000
--- a/multidict/_multidict.c
+++ /dev/null
@@ -1,19252 +0,0 @@
-/* Generated by Cython 0.25.2 */
-
-/* BEGIN: Cython Metadata
-{
-    "distutils": {
-        "depends": []
-    },
-    "module_name": "multidict._multidict"
-}
-END: Cython Metadata */
-
-#define PY_SSIZE_T_CLEAN
-#include "Python.h"
-#ifndef Py_PYTHON_H
-    #error Python headers needed to compile C extensions, please install development version of Python.
-#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
-    #error Cython requires Python 2.6+ or Python 3.2+.
-#else
-#define CYTHON_ABI "0_25_2"
-#include <stddef.h>
-#ifndef offsetof
-  #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
-#endif
-#if !defined(WIN32) && !defined(MS_WINDOWS)
-  #ifndef __stdcall
-    #define __stdcall
-  #endif
-  #ifndef __cdecl
-    #define __cdecl
-  #endif
-  #ifndef __fastcall
-    #define __fastcall
-  #endif
-#endif
-#ifndef DL_IMPORT
-  #define DL_IMPORT(t) t
-#endif
-#ifndef DL_EXPORT
-  #define DL_EXPORT(t) t
-#endif
-#ifndef HAVE_LONG_LONG
-  #if PY_VERSION_HEX >= 0x03030000 || (PY_MAJOR_VERSION == 2 && PY_VERSION_HEX >= 0x02070000)
-    #define HAVE_LONG_LONG
-  #endif
-#endif
-#ifndef PY_LONG_LONG
-  #define PY_LONG_LONG LONG_LONG
-#endif
-#ifndef Py_HUGE_VAL
-  #define Py_HUGE_VAL HUGE_VAL
-#endif
-#ifdef PYPY_VERSION
-  #define CYTHON_COMPILING_IN_PYPY 1
-  #define CYTHON_COMPILING_IN_PYSTON 0
-  #define CYTHON_COMPILING_IN_CPYTHON 0
-  #undef CYTHON_USE_TYPE_SLOTS
-  #define CYTHON_USE_TYPE_SLOTS 0
-  #undef CYTHON_USE_ASYNC_SLOTS
-  #define CYTHON_USE_ASYNC_SLOTS 0
-  #undef CYTHON_USE_PYLIST_INTERNALS
-  #define CYTHON_USE_PYLIST_INTERNALS 0
-  #undef CYTHON_USE_UNICODE_INTERNALS
-  #define CYTHON_USE_UNICODE_INTERNALS 0
-  #undef CYTHON_USE_UNICODE_WRITER
-  #define CYTHON_USE_UNICODE_WRITER 0
-  #undef CYTHON_USE_PYLONG_INTERNALS
-  #define CYTHON_USE_PYLONG_INTERNALS 0
-  #undef CYTHON_AVOID_BORROWED_REFS
-  #define CYTHON_AVOID_BORROWED_REFS 1
-  #undef CYTHON_ASSUME_SAFE_MACROS
-  #define CYTHON_ASSUME_SAFE_MACROS 0
-  #undef CYTHON_UNPACK_METHODS
-  #define CYTHON_UNPACK_METHODS 0
-  #undef CYTHON_FAST_THREAD_STATE
-  #define CYTHON_FAST_THREAD_STATE 0
-  #undef CYTHON_FAST_PYCALL
-  #define CYTHON_FAST_PYCALL 0
-#elif defined(PYSTON_VERSION)
-  #define CYTHON_COMPILING_IN_PYPY 0
-  #define CYTHON_COMPILING_IN_PYSTON 1
-  #define CYTHON_COMPILING_IN_CPYTHON 0
-  #ifndef CYTHON_USE_TYPE_SLOTS
-    #define CYTHON_USE_TYPE_SLOTS 1
-  #endif
-  #undef CYTHON_USE_ASYNC_SLOTS
-  #define CYTHON_USE_ASYNC_SLOTS 0
-  #undef CYTHON_USE_PYLIST_INTERNALS
-  #define CYTHON_USE_PYLIST_INTERNALS 0
-  #ifndef CYTHON_USE_UNICODE_INTERNALS
-    #define CYTHON_USE_UNICODE_INTERNALS 1
-  #endif
-  #undef CYTHON_USE_UNICODE_WRITER
-  #define CYTHON_USE_UNICODE_WRITER 0
-  #undef CYTHON_USE_PYLONG_INTERNALS
-  #define CYTHON_USE_PYLONG_INTERNALS 0
-  #ifndef CYTHON_AVOID_BORROWED_REFS
-    #define CYTHON_AVOID_BORROWED_REFS 0
-  #endif
-  #ifndef CYTHON_ASSUME_SAFE_MACROS
-    #define CYTHON_ASSUME_SAFE_MACROS 1
-  #endif
-  #ifndef CYTHON_UNPACK_METHODS
-    #define CYTHON_UNPACK_METHODS 1
-  #endif
-  #undef CYTHON_FAST_THREAD_STATE
-  #define CYTHON_FAST_THREAD_STATE 0
-  #undef CYTHON_FAST_PYCALL
-  #define CYTHON_FAST_PYCALL 0
-#else
-  #define CYTHON_COMPILING_IN_PYPY 0
-  #define CYTHON_COMPILING_IN_PYSTON 0
-  #define CYTHON_COMPILING_IN_CPYTHON 1
-  #ifndef CYTHON_USE_TYPE_SLOTS
-    #define CYTHON_USE_TYPE_SLOTS 1
-  #endif
-  #if PY_MAJOR_VERSION < 3
-    #undef CYTHON_USE_ASYNC_SLOTS
-    #define CYTHON_USE_ASYNC_SLOTS 0
-  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
-    #define CYTHON_USE_ASYNC_SLOTS 1
-  #endif
-  #if PY_VERSION_HEX < 0x02070000
-    #undef CYTHON_USE_PYLONG_INTERNALS
-    #define CYTHON_USE_PYLONG_INTERNALS 0
-  #elif !defined(CYTHON_USE_PYLONG_INTERNALS)
-    #define CYTHON_USE_PYLONG_INTERNALS 1
-  #endif
-  #ifndef CYTHON_USE_PYLIST_INTERNALS
-    #define CYTHON_USE_PYLIST_INTERNALS 1
-  #endif
-  #ifndef CYTHON_USE_UNICODE_INTERNALS
-    #define CYTHON_USE_UNICODE_INTERNALS 1
-  #endif
-  #if PY_VERSION_HEX < 0x030300F0
-    #undef CYTHON_USE_UNICODE_WRITER
-    #define CYTHON_USE_UNICODE_WRITER 0
-  #elif !defined(CYTHON_USE_UNICODE_WRITER)
-    #define CYTHON_USE_UNICODE_WRITER 1
-  #endif
-  #ifndef CYTHON_AVOID_BORROWED_REFS
-    #define CYTHON_AVOID_BORROWED_REFS 0
-  #endif
-  #ifndef CYTHON_ASSUME_SAFE_MACROS
-    #define CYTHON_ASSUME_SAFE_MACROS 1
-  #endif
-  #ifndef CYTHON_UNPACK_METHODS
-    #define CYTHON_UNPACK_METHODS 1
-  #endif
-  #ifndef CYTHON_FAST_THREAD_STATE
-    #define CYTHON_FAST_THREAD_STATE 1
-  #endif
-  #ifndef CYTHON_FAST_PYCALL
-    #define CYTHON_FAST_PYCALL 1
-  #endif
-#endif
-#if !defined(CYTHON_FAST_PYCCALL)
-#define CYTHON_FAST_PYCCALL  (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
-#endif
-#if CYTHON_USE_PYLONG_INTERNALS
-  #include "longintrepr.h"
-  #undef SHIFT
-  #undef BASE
-  #undef MASK
-#endif
-#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
-  #define Py_OptimizeFlag 0
-#endif
-#define __PYX_BUILD_PY_SSIZE_T "n"
-#define CYTHON_FORMAT_SSIZE_T "z"
-#if PY_MAJOR_VERSION < 3
-  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
-  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
-          PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
-  #define __Pyx_DefaultClassType PyClass_Type
-#else
-  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
-  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
-          PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
-  #define __Pyx_DefaultClassType PyType_Type
-#endif
-#ifndef Py_TPFLAGS_CHECKTYPES
-  #define Py_TPFLAGS_CHECKTYPES 0
-#endif
-#ifndef Py_TPFLAGS_HAVE_INDEX
-  #define Py_TPFLAGS_HAVE_INDEX 0
-#endif
-#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
-  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
-#endif
-#ifndef Py_TPFLAGS_HAVE_FINALIZE
-  #define Py_TPFLAGS_HAVE_FINALIZE 0
-#endif
-#ifndef METH_FASTCALL
-  #define METH_FASTCALL 0x80
-  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject **args,
-                                              Py_ssize_t nargs, PyObject *kwnames);
-#else
-  #define __Pyx_PyCFunctionFast _PyCFunctionFast
-#endif
-#if CYTHON_FAST_PYCCALL
-#define __Pyx_PyFastCFunction_Check(func)\
-    ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))))
-#else
-#define __Pyx_PyFastCFunction_Check(func) 0
-#endif
-#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
-  #define CYTHON_PEP393_ENABLED 1
-  #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ?\
-                                              0 : _PyUnicode_Ready((PyObject *)(op)))
-  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
-  #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
-  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   PyUnicode_MAX_CHAR_VALUE(u)
-  #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
-  #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
-  #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
-  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  PyUnicode_WRITE(k, d, i, ch)
-  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
-#else
-  #define CYTHON_PEP393_ENABLED 0
-  #define PyUnicode_1BYTE_KIND  1
-  #define PyUnicode_2BYTE_KIND  2
-  #define PyUnicode_4BYTE_KIND  4
-  #define __Pyx_PyUnicode_READY(op)       (0)
-  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
-  #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
-  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
-  #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
-  #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
-  #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
-  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
-  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_SIZE(u))
-#endif
-#if CYTHON_COMPILING_IN_PYPY
-  #define __Pyx_PyUnicode_Concat(a, b)      PyNumber_Add(a, b)
-  #define __Pyx_PyUnicode_ConcatSafe(a, b)  PyNumber_Add(a, b)
-#else
-  #define __Pyx_PyUnicode_Concat(a, b)      PyUnicode_Concat(a, b)
-  #define __Pyx_PyUnicode_ConcatSafe(a, b)  ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ?\
-      PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
-#endif
-#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
-  #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
-#endif
-#if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
-  #define PyByteArray_Check(obj)  PyObject_TypeCheck(obj, &PyByteArray_Type)
-#endif
-#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
-  #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
-#endif
-#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
-  #define PyObject_Malloc(s)   PyMem_Malloc(s)
-  #define PyObject_Free(p)     PyMem_Free(p)
-  #define PyObject_Realloc(p)  PyMem_Realloc(p)
-#endif
-#if CYTHON_COMPILING_IN_PYSTON
-  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
-  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
-#else
-  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
-  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
-#endif
-#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
-#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
-#if PY_MAJOR_VERSION >= 3
-  #define __Pyx_PyString_Format(a, b)  PyUnicode_Format(a, b)
-#else
-  #define __Pyx_PyString_Format(a, b)  PyString_Format(a, b)
-#endif
-#if PY_MAJOR_VERSION < 3 && !defined(PyObject_ASCII)
-  #define PyObject_ASCII(o)            PyObject_Repr(o)
-#endif
-#if PY_MAJOR_VERSION >= 3
-  #define PyBaseString_Type            PyUnicode_Type
-  #define PyStringObject               PyUnicodeObject
-  #define PyString_Type                PyUnicode_Type
-  #define PyString_Check               PyUnicode_Check
-  #define PyString_CheckExact          PyUnicode_CheckExact
-#endif
-#if PY_MAJOR_VERSION >= 3
-  #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
-  #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
-#else
-  #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
-  #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
-#endif
-#ifndef PySet_CheckExact
-  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
-#endif
-#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
-#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
-#if PY_MAJOR_VERSION >= 3
-  #define PyIntObject                  PyLongObject
-  #define PyInt_Type                   PyLong_Type
-  #define PyInt_Check(op)              PyLong_Check(op)
-  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
-  #define PyInt_FromString             PyLong_FromString
-  #define PyInt_FromUnicode            PyLong_FromUnicode
-  #define PyInt_FromLong               PyLong_FromLong
-  #define PyInt_FromSize_t             PyLong_FromSize_t
-  #define PyInt_FromSsize_t            PyLong_FromSsize_t
-  #define PyInt_AsLong                 PyLong_AsLong
-  #define PyInt_AS_LONG                PyLong_AS_LONG
-  #define PyInt_AsSsize_t              PyLong_AsSsize_t
-  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
-  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
-  #define PyNumber_Int                 PyNumber_Long
-#endif
-#if PY_MAJOR_VERSION >= 3
-  #define PyBoolObject                 PyLongObject
-#endif
-#if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
-  #ifndef PyUnicode_InternFromString
-    #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
-  #endif
-#endif
-#if PY_VERSION_HEX < 0x030200A4
-  typedef long Py_hash_t;
-  #define __Pyx_PyInt_FromHash_t PyInt_FromLong
-  #define __Pyx_PyInt_AsHash_t   PyInt_AsLong
-#else
-  #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
-  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
-#endif
-#if PY_MAJOR_VERSION >= 3
-  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
-#else
-  #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
-#endif
... 19444 lines suppressed ...

-- 
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