Thomas Waldmann <thomas.j.waldm...@gmail.com> added the comment:
hmm, issue tracker does not make it easy to see which file was uploaded for which comment, so: a: original code, works, potentially problematic exception handling (memoryview not always being released) b: using the memoryview context manager, fails with BufferError c: using try/finally to make sure memoryview is released: works ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35686> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com