Roundup Robot added the comment:
New changeset 4deb294ff567 by Serhiy Storchaka in branch '2.7':
Issue #17051: Fix a memory leak in os.path.isdir() on Windows. Patch by Robert
Xiao.
http://hg.python.org/cpython/rev/4deb294ff567
--
nosy: +python-dev
Serhiy Storchaka added the comment:
Committed. Thank you for patch.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17051
Roundup Robot added the comment:
New changeset 51173aba06eb by Serhiy Storchaka in branch '2.7':
Add Robert Xiao to Misc/ACKS for issue17051.
http://hg.python.org/cpython/rev/51173aba06eb
--
___
Python tracker rep...@bugs.python.org
Brian Curtin added the comment:
Robert, thanks a lot for this fix and your contributor agreement. We're
currently working on making it easier to submit the contributor agreement so
you won't have to print it out and mail/fax/scan it...even though you already
did it and you're now covered :)
New submission from Robert Xiao:
[From
http://stackoverflow.com/questions/12648737/huge-memory-leak-in-repeated-os-path-isdir-calls]
os.path.isdir() leaks memory under Windows in Python 2.7. The core cause is
this snippet:
Modules/posixmodule.c:4226:
if (!PyArg_ParseTuple(args,
Serhiy Storchaka added the comment:
Good catch. Thank you, Robert Xiao.
Can you please submit a contributor form?
http://python.org/psf/contrib/contrib-form/
http://python.org/psf/contrib/
--
assignee: - serhiy.storchaka
components: +Extension Modules, Windows -Library (Lib)
nosy:
Robert Xiao added the comment:
The PSF form really needs a PDF version. Anyway, 'tis duly submitted.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17051
___