[issue35291] duplicate of memoryview from io.BufferedWriter leaks

2020-10-05 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35291] duplicate of memoryview from io.BufferedWriter leaks

2020-10-05 Thread Irit Katriel
Irit Katriel added the comment: I tried the script on master (windows), and the problem is not reproducible. The OP also wrote that this is a 2.7-only issue, so it seems to be out of date. -- nosy: +iritkatriel, serhiy.storchaka type: -> resource usage

[issue35291] duplicate of memoryview from io.BufferedWriter leaks

2018-11-21 Thread Jason Madden
New submission from Jason Madden : Using Python 2.7.15, if a BufferedWriter wraps an IO object that duplicates the memoryview passed to the IO object's `write` method, that memoryview leaks. This script demonstrates the problem by leaking a memoryview for each iteration of the loop (if the