diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-06-06 15:12:29 (GMT) |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-06-06 15:12:29 (GMT) |
| commit | e77535c90b0483d8cec913cca4b0628974a9f06e (patch) | |
| tree | 538e352f514aacce0793ac3cc14ff49301f3acdc /Lib/packaging/compiler/cygwinccompiler.py | |
| parent | 9f0df8bdb8497674709f1e0494dbb885b898d7ee (diff) | |
| parent | a69ade81be00270bd613f7e5e4f999f5d7bc304b (diff) | |
| download | cpython-e77535c90b0483d8cec913cca4b0628974a9f06e.zip cpython-e77535c90b0483d8cec913cca4b0628974a9f06e.tar.gz cpython-e77535c90b0483d8cec913cca4b0628974a9f06e.tar.bz2 | |
Branch merge
Diffstat (limited to 'Lib/packaging/compiler/cygwinccompiler.py')
| -rw-r--r-- | Lib/packaging/compiler/cygwinccompiler.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/packaging/compiler/cygwinccompiler.py b/Lib/packaging/compiler/cygwinccompiler.py index 7bfa611..348dbe7 100644 --- a/Lib/packaging/compiler/cygwinccompiler.py +++ b/Lib/packaging/compiler/cygwinccompiler.py @@ -48,7 +48,6 @@ of GCC (same as cygwin in no-cygwin mode). import os import sys -import copy from packaging import logger from packaging.compiler.unixccompiler import UnixCCompiler @@ -172,9 +171,9 @@ class CygwinCCompiler(UnixCCompiler): extra_postargs=None, build_temp=None, target_lang=None): """Link the objects.""" # use separate copies, so we can modify the lists - extra_preargs = copy.copy(extra_preargs or []) - libraries = copy.copy(libraries or []) - objects = copy.copy(objects or []) + extra_preargs = list(extra_preargs or []) + libraries = list(libraries or []) + objects = list(objects or []) # Additional libraries libraries.extend(self.dll_libraries) |
