Skip to content

Conversation

methane
Copy link
Member

@methane methane commented Jun 26, 2018

Fixes #303

@jaraco
Copy link

jaraco commented Jul 6, 2018

Yes this works. Thanks!

@methane methane merged commit aa41e2f into msgpack:master Jul 6, 2018
@methane methane deleted the jython branch July 6, 2018 03:40
@hroncok
Copy link

hroncok commented Aug 29, 2018

This get me trough "TypeError can't concat memoryview to bytearray" yet i still get:

  File "/usr/share/python-wheels/pip-18.0-py2.py3-none-any.whl/pip/_vendor/msgpack/fallback.py", line 556, in _read_header
    n, = struct.unpack_from(">H", self._buffer_view, self._buff_i)
TypeError: unpack_from(): 2nd arg can't be coerced to String

devendor added a commit to devendor/msgpack-python that referenced this pull request Sep 28, 2018
casting.

The current patches did not work under jython-2.7.1 where implicit
casting of buffer or memoryview doesn't work. It may also be the
jython is a little pickier about string casting non string bytes
due to the underlying strong typing of java.

See issues msgpack#303 & msgpack#304.

Rolls back / replaces:
aa41e2f
5f684ae
b10cf78
methane pushed a commit that referenced this pull request Oct 2, 2018
Python 3.4 is not supported officially.
But keep running test for a while, to know when msgpack-python
stop working on Python 3.4 actually.

The current patches did not work under jython-2.7.1 where implicit
casting of buffer or memoryview doesn't work. It may also be the
jython is a little pickier about string casting non string bytes
due to the underlying strong typing of java.

See issues #303 & #304.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants