Skip to content

bpo-25007: Add copy protocol support to zlib compressors and decompressors#7940

Merged
serhiy-storchaka merged 2 commits intopython:masterfrom
ZackerySpytz:bpo-25007-zlib-comp-decomp-copy
Jun 27, 2018
Merged

bpo-25007: Add copy protocol support to zlib compressors and decompressors#7940
serhiy-storchaka merged 2 commits intopython:masterfrom
ZackerySpytz:bpo-25007-zlib-comp-decomp-copy

Conversation

@ZackerySpytz
Copy link
Copy Markdown
Contributor

@ZackerySpytz ZackerySpytz commented Jun 26, 2018

This PR was created from scratch; the patch submitted on the bug tracker two years ago needed to be rewritten, and it lacked deepcopy() support, documentation, and tests.

https://bugs.python.org/issue25007

Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just two style nits.



.. versionchanged:: 3.8
Added :func:`copy.copy` and :func:`copy.deepcopy` support to Compression
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use lower case for compression objects.



.. versionchanged:: 3.8
Added :func:`copy.copy` and :func:`copy.deepcopy` support to Decompression
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label Jun 27, 2018
@serhiy-storchaka serhiy-storchaka merged commit d2cbfff into python:master Jun 27, 2018
@ZackerySpytz ZackerySpytz deleted the bpo-25007-zlib-comp-decomp-copy branch June 30, 2018 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants