New submission from STINNER Victor:
The following code leaks one reference on Python 3.6:
def test_attributes(self):
d = dict((entry.name, entry) for entry in os.scandir('.'))
Or try the command:
./python -m test -R 3:3 test_os -v -m test_attributes
----------
components: Library (Lib)
messages: 287409
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: os.scandir(str) reference leak (test_os refleak)
type: resource usage
versions: Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29513>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com