[issue20699] Behavior of ZipFile with file-like object and BufferedWriter.

Feb. 12, 2015
11:13 a.m.
Martin Panter added the comment: Posting patch v2: * Changed readinto() argument descriptions to “a pre-allocated, writable bytes-like buffer”, for both RawIOBase and BufferedIOBase * Integrated the single-use test_memoryio.BytesIOMixin test class, which tricked me when I did the first patch * Added tests for BufferedRWPair, BytesIO.readinto() etc methods with non-bytearray() buffers * Fix _pyio.BufferedReader.readinto/1() for non-bytearray ---------- Added file: http://bugs.python.org/file38107/bytes-like-param.v2.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue20699> _______________________________________
3666
Age (days ago)
3666
Last active (days ago)
0 comments
1 participants
participants (1)
-
Martin Panter