-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support memoryviews #80
Conversation
Let's see what travis says. |
ac445ac
to
da05be3
Compare
Looks like this has the added benefit of being able to compress (unicode) strings in Py3. 👍 |
This still needs quite a lot of work, but should be doable in principle, the code is a proof-of concept. |
e55e6e4
to
df99404
Compare
66f94e5
to
e8ba785
Compare
fc8c39c
to
e9352d0
Compare
Okay, this one is pretty much ready now. Some notes: I had to disable Travis-CI for Python 3.2 since it raises Syntax errors on unicode literals. On Python 2.x we support unicode, on 3.x we don't. This mimics exactly how the zlib module works and actually required some Python version checking in the C module source-code. Not that nice, I know but it works. Return type is always bytes, like zlib. For now, it only support compression of bytes-like objects with buffer interface, decompression to be added as a separate pull-request. |
eb3a5f0
to
7e78b40
Compare
This mimics the behaviour of the zlib module on Python 3.4.
Not enough maintainers, will merge this by myself. |
No description provided.