diff options
| author | Inada Naoki <songofacandy@gmail.com> | 2019-11-28 20:23:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-28 20:23:34 +0900 |
| commit | 891f2d8743857bb75204f96b0469cb2ec90c7f79 (patch) | |
| tree | 8d5de9611eef84e3643f1f907e5f4a954b8e25fc /README.rst | |
| parent | b458e9a6a2cf69e483fa5994d227382c6a01f3c4 (diff) | |
| download | msgpack-python-891f2d8743857bb75204f96b0469cb2ec90c7f79.tar.gz | |
Drop Python 2 support from _cmsgpack (#376)
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -76,10 +76,18 @@ Install $ pip install msgpack -PyPy -^^^^ +Pure Python implementation +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The extension module in msgpack (``msgpack._cmsgpack``) does not support +Python 2 and PyPy. + +But msgpack provides a pure Python implementation (``msgpack.fallback``) +for PyPy and Python 2. + +Since the [pip](https://pip.pypa.io/) uses the pure Python implementation, +Python 2 support will not be dropped in foreseeable feature. -msgpack provides a pure Python implementation. PyPy can use this. Windows ^^^^^^^ @@ -88,12 +96,6 @@ When you can't use a binary distribution, you need to install Visual Studio or Windows SDK on Windows. Without extension, using pure Python implementation on CPython runs slowly. -For Python 2.7, `Microsoft Visual C++ Compiler for Python 2.7 <https://www.microsoft.com/en-us/download/details.aspx?id=44266>`_ -is recommended solution. - -For Python 3.5, `Microsoft Visual Studio 2015 <https://www.visualstudio.com/en-us/products/vs-2015-product-editions.aspx>`_ -Community Edition or Express Edition can be used to build extension module. - How to use ---------- |
