We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b10cf78 + 5f684ae commit aa41e2fCopy full SHA for aa41e2f
msgpack/fallback.py
@@ -100,6 +100,13 @@ def _get_data_from_buffer(obj):
100
return view
101
102
103
+# Jython's memoryview support is incomplete
104
+# See https://github.com/msgpack/msgpack-python/issues/303
105
+_is_jython = sys.platform.startswith('java')
106
+if _is_jython:
107
+ _get_data_from_buffer = bytes
108
+
109
110
def unpack(stream, **kwargs):
111
warnings.warn(
112
"Direct calling implementation's unpack() is deprecated, Use msgpack.unpack() or unpackb() instead.",
0 commit comments