[issue25007] Add support of copy protocol to zlib compressors and decompressors
Josh Rosenberg
report at bugs.python.org
Wed Jan 20 13:12:56 EST 2016
Josh Rosenberg added the comment:
Patch looks good, but incomplete. Supporting __deepcopy__ (as a simple wrapper around __copy__ that ignores the second argument) would provide complete support.
Also, should there be tests? I mean, I assume the .copy() method itself is tested, but just to detect stupid regressions, seems like testing __copy__/__deepcopy__ for identical behavior would be a good thing.
----------
nosy: +josh.r
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25007>
_______________________________________
More information about the Python-bugs-list
mailing list