[issue9448] test_io leaks memory

Mark Dickinson report at bugs.python.org
Sun Aug 1 18:39:29 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

Minimal example to reproduce:  the script below exhausts my system memory in a minute or two.

import io
rawio = io.BytesIO(b"abc")
bufio = io.BufferedReader(rawio)
while True:
    bufio.__init__(rawio)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9448>
_______________________________________


More information about the Python-bugs-list mailing list