Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f541378d
Kaydet (Commit)
f541378d
authored
May 15, 2009
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix bootstrapping by removing uses of the copy module in distutils
üst
775fd66d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
ccompiler.py
Lib/distutils/ccompiler.py
+5
-6
dist.py
Lib/distutils/dist.py
+1
-2
No files found.
Lib/distutils/ccompiler.py
Dosyayı görüntüle @
f541378d
...
...
@@ -7,7 +7,6 @@ __revision__ = "$Id$"
import
sys
,
os
,
re
from
types
import
*
from
copy
import
copy
from
distutils.errors
import
*
from
distutils.spawn
import
spawn
from
distutils.file_util
import
move_file
...
...
@@ -253,7 +252,7 @@ class CCompiler:
any list of standard include directories that the compiler may
search by default.
"""
self
.
include_dirs
=
copy
(
dirs
)
self
.
include_dirs
=
dirs
[:]
def
add_library
(
self
,
libname
):
...
...
@@ -278,7 +277,7 @@ class CCompiler:
not affect any standard system libraries that the linker may
include by default.
"""
self
.
libraries
=
copy
(
libnames
)
self
.
libraries
=
libnames
[:]
def
add_library_dir
(
self
,
dir
):
...
...
@@ -294,7 +293,7 @@ class CCompiler:
strings). This does not affect any standard library search path
that the linker may search by default.
"""
self
.
library_dirs
=
copy
(
dirs
)
self
.
library_dirs
=
dirs
[:]
def
add_runtime_library_dir
(
self
,
dir
):
...
...
@@ -309,7 +308,7 @@ class CCompiler:
standard search path that the runtime linker may search by
default.
"""
self
.
runtime_library_dirs
=
copy
(
dirs
)
self
.
runtime_library_dirs
=
dirs
[:]
def
add_link_object
(
self
,
object
):
...
...
@@ -326,7 +325,7 @@ class CCompiler:
files that the linker may include by default (such as system
libraries).
"""
self
.
objects
=
copy
(
objects
)
self
.
objects
=
objects
[:]
# -- Private utility methods --------------------------------------
...
...
Lib/distutils/dist.py
Dosyayı görüntüle @
f541378d
...
...
@@ -8,7 +8,6 @@ __revision__ = "$Id$"
import
sys
,
os
,
string
,
re
from
types
import
*
from
copy
import
copy
try
:
import
warnings
...
...
@@ -537,7 +536,7 @@ Common commands: (see '--help-commands' for more)
# merge it in with the global negative aliases.
negative_opt
=
self
.
negative_opt
if
hasattr
(
cmd_class
,
'negative_opt'
):
negative_opt
=
copy
(
negative_opt
)
negative_opt
=
negative_opt
.
copy
(
)
negative_opt
.
update
(
cmd_class
.
negative_opt
)
# Check for help_options in command class. They have a different
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment