mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-23 22:03:18 +00:00
add support for pypy3
This commit is contained in:
parent
ef3f94101a
commit
d5e9ac9316
2 changed files with 5 additions and 2 deletions
|
|
@ -23,6 +23,9 @@ if hasattr(sys, 'pypy_version_info'):
|
|||
# cStringIO is slow on PyPy, StringIO is faster. However: PyPy's own
|
||||
# StringBuilder is fastest.
|
||||
from __pypy__ import newlist_hint
|
||||
try:
|
||||
from __pypy__.builders import BytesBuilder as StringBuilder
|
||||
except ImportError:
|
||||
from __pypy__.builders import StringBuilder
|
||||
USING_STRINGBUILDER = True
|
||||
class StringIO(object):
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py26,py27,py32,py33,py34,pypy
|
||||
envlist = py26,py27,py32,py33,py34,pypy,pypy3
|
||||
|
||||
[testenv]
|
||||
deps=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue