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
b3c6ed5e
Kaydet (Commit)
b3c6ed5e
authored
Mar 07, 2009
tarafından
Tarek Ziadé
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fixed except syntax for py3
üst
63b64c02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
msvc9compiler.py
Lib/distutils/msvc9compiler.py
+6
-6
No files found.
Lib/distutils/msvc9compiler.py
Dosyayı görüntüle @
b3c6ed5e
...
@@ -479,7 +479,7 @@ class MSVCCompiler(CCompiler) :
...
@@ -479,7 +479,7 @@ class MSVCCompiler(CCompiler) :
try
:
try
:
self
.
spawn
([
self
.
rc
]
+
pp_opts
+
self
.
spawn
([
self
.
rc
]
+
pp_opts
+
[
output_opt
]
+
[
input_opt
])
[
output_opt
]
+
[
input_opt
])
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
CompileError
(
msg
)
raise
CompileError
(
msg
)
continue
continue
elif
ext
in
self
.
_mc_extensions
:
elif
ext
in
self
.
_mc_extensions
:
...
@@ -506,7 +506,7 @@ class MSVCCompiler(CCompiler) :
...
@@ -506,7 +506,7 @@ class MSVCCompiler(CCompiler) :
self
.
spawn
([
self
.
rc
]
+
self
.
spawn
([
self
.
rc
]
+
[
"/fo"
+
obj
]
+
[
rc_file
])
[
"/fo"
+
obj
]
+
[
rc_file
])
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
CompileError
(
msg
)
raise
CompileError
(
msg
)
continue
continue
else
:
else
:
...
@@ -519,7 +519,7 @@ class MSVCCompiler(CCompiler) :
...
@@ -519,7 +519,7 @@ class MSVCCompiler(CCompiler) :
self
.
spawn
([
self
.
cc
]
+
compile_opts
+
pp_opts
+
self
.
spawn
([
self
.
cc
]
+
compile_opts
+
pp_opts
+
[
input_opt
,
output_opt
]
+
[
input_opt
,
output_opt
]
+
extra_postargs
)
extra_postargs
)
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
CompileError
(
msg
)
raise
CompileError
(
msg
)
return
objects
return
objects
...
@@ -544,7 +544,7 @@ class MSVCCompiler(CCompiler) :
...
@@ -544,7 +544,7 @@ class MSVCCompiler(CCompiler) :
pass
# XXX what goes here?
pass
# XXX what goes here?
try
:
try
:
self
.
spawn
([
self
.
lib
]
+
lib_args
)
self
.
spawn
([
self
.
lib
]
+
lib_args
)
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
LibError
(
msg
)
raise
LibError
(
msg
)
else
:
else
:
log
.
debug
(
"skipping
%
s (up-to-date)"
,
output_filename
)
log
.
debug
(
"skipping
%
s (up-to-date)"
,
output_filename
)
...
@@ -633,7 +633,7 @@ class MSVCCompiler(CCompiler) :
...
@@ -633,7 +633,7 @@ class MSVCCompiler(CCompiler) :
self
.
mkpath
(
os
.
path
.
dirname
(
output_filename
))
self
.
mkpath
(
os
.
path
.
dirname
(
output_filename
))
try
:
try
:
self
.
spawn
([
self
.
linker
]
+
ld_args
)
self
.
spawn
([
self
.
linker
]
+
ld_args
)
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
LinkError
(
msg
)
raise
LinkError
(
msg
)
# embed the manifest
# embed the manifest
...
@@ -649,7 +649,7 @@ class MSVCCompiler(CCompiler) :
...
@@ -649,7 +649,7 @@ class MSVCCompiler(CCompiler) :
try
:
try
:
self
.
spawn
([
'mt.exe'
,
'-nologo'
,
'-manifest'
,
self
.
spawn
([
'mt.exe'
,
'-nologo'
,
'-manifest'
,
temp_manifest
,
out_arg
])
temp_manifest
,
out_arg
])
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
LinkError
(
msg
)
raise
LinkError
(
msg
)
else
:
else
:
log
.
debug
(
"skipping
%
s (up-to-date)"
,
output_filename
)
log
.
debug
(
"skipping
%
s (up-to-date)"
,
output_filename
)
...
...
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