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
0276c7ad
Kaydet (Commit)
0276c7ad
authored
Ock 26, 2010
tarafından
Tarek Ziadé
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
reintroduced the names in Distutils for APIs that were relocated
üst
b28e5d7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
sysconfig.py
Lib/distutils/sysconfig.py
+9
-0
util.py
Lib/distutils/util.py
+4
-0
No files found.
Lib/distutils/sysconfig.py
Dosyayı görüntüle @
0276c7ad
...
...
@@ -21,6 +21,15 @@ from warnings import warn
# to avoid this module to shadow it
_sysconfig
=
__import__
(
'sysconfig'
)
# names defined here to keep backward compatibility
# for APIs that were relocated
get_python_version
=
_sysconfig
.
get_python_version
get_config_h_filename
=
_sysconfig
.
get_config_h_filename
parse_config_h
=
_sysconfig
.
parse_config_h
get_config_vars
=
_sysconfig
.
get_config_vars
get_config_var
=
_sysconfig
.
get_config_var
from
distutils.ccompiler
import
customize_compiler
_DEPRECATION_MSG
=
(
"distutils.sysconfig.
%
s is deprecated. "
"Use the APIs provided by the sysconfig module instead"
)
...
...
Lib/distutils/util.py
Dosyayı görüntüle @
0276c7ad
...
...
@@ -17,6 +17,10 @@ from distutils.errors import DistutilsByteCompileError
_sysconfig
=
__import__
(
'sysconfig'
)
# kept for backward compatibility
# since this API was relocated
get_platform
=
_sysconfig
.
get_platform
def
convert_path
(
pathname
):
"""Return 'pathname' as a name that will work on the native filesystem.
...
...
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