[New-bugs-announce] [issue37498] request.urlopen(), memory leak?

neonene report at bugs.python.org
Thu Jul 4 15:11:53 EDT 2019


New submission from neonene <nicesalmon at gmail.com>:

Python3.8.0a4,b1,b2(x64,x32)
Python3.7.4rc1,rc2 (x64,x32)
In Windows7 SP1(x64), memory usage keep increasing by the following code.
---
from urllib import request
from time import sleep
while True:
    req = request.Request('https://www.python.org/')
    request.urlopen(req)
    sleep(1)
---
Sorry, I'm not sure why.

----------
components: Windows
messages: 347293
nosy: neonene, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: request.urlopen(), memory leak?
type: resource usage
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37498>
_______________________________________


More information about the New-bugs-announce mailing list