bpo-25007: Add copy protocol support to zlib compressors and decompressors by ZackerySpytz · Pull Request #7940 · python/cpython

Conversation

@ZackerySpytz

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

serhiy-storchaka

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

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

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

Labels