[New-bugs-announce] [issue25544] cleanup temporary files in distutils.has_function

Min RK report at bugs.python.org
Tue Nov 3 09:15:46 EST 2015

New submission from Min RK:

One of the nits noted in http://bugs.python.org/issue717152, which introduced ccompiler.has_function, was that it does not clean up after itself.

This patch uses a TemporaryDirectory context to ensure that the files created during has_function are cleaned up.

components: Distutils
files: 0001-cleanup-temporary-files-in-ccompiler.has_function.patch
keywords: patch
messages: 253993
nosy: dstufft, eric.araujo, minrk
priority: normal
severity: normal
status: open
title: cleanup temporary files in distutils.has_function
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40933/0001-cleanup-temporary-files-in-ccompiler.has_function.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list