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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to