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
047e4a91
Kaydet (Commit)
047e4a91
authored
Agu 17, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update distutils so that it triggers no warnings when run under -3.
üst
94f243aa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
build_ext.py
Lib/distutils/command/build_ext.py
+1
-1
build_py.py
Lib/distutils/command/build_py.py
+2
-2
core.py
Lib/distutils/core.py
+2
-1
NEWS
Misc/NEWS
+5
-5
No files found.
Lib/distutils/command/build_ext.py
Dosyayı görüntüle @
047e4a91
...
...
@@ -679,7 +679,7 @@ class build_ext (Command):
so_ext
=
get_config_var
(
'SO'
)
if
os
.
name
==
'nt'
and
self
.
debug
:
return
apply
(
os
.
path
.
join
,
ext_path
)
+
'_d'
+
so_ext
return
apply
(
os
.
path
.
join
,
ext_path
)
+
so_ext
return
os
.
path
.
join
(
*
ext_path
)
+
so_ext
def
get_export_symbols
(
self
,
ext
):
"""Return the list of symbols that a shared extension has to
...
...
Lib/distutils/command/build_py.py
Dosyayı görüntüle @
047e4a91
...
...
@@ -169,7 +169,7 @@ class build_py (Command):
del
path
[
-
1
]
else
:
tail
.
insert
(
0
,
pdir
)
return
apply
(
os
.
path
.
join
,
tail
)
return
os
.
path
.
join
(
*
tail
)
else
:
# Oops, got all the way through 'path' without finding a
# match in package_dir. If package_dir defines a directory
...
...
@@ -337,7 +337,7 @@ class build_py (Command):
def
get_module_outfile
(
self
,
build_dir
,
package
,
module
):
outfile_path
=
[
build_dir
]
+
list
(
package
)
+
[
module
+
".py"
]
return
apply
(
os
.
path
.
join
,
outfile_path
)
return
os
.
path
.
join
(
*
outfile_path
)
def
get_outputs
(
self
,
include_bytecode
=
1
):
...
...
Lib/distutils/core.py
Dosyayı görüntüle @
047e4a91
...
...
@@ -218,7 +218,8 @@ def run_setup (script_name, script_args=None, stop_after="run"):
sys
.
argv
[
0
]
=
script_name
if
script_args
is
not
None
:
sys
.
argv
[
1
:]
=
script_args
execfile
(
script_name
,
g
,
l
)
with
open
(
script_name
,
'r'
)
as
file
:
exec
file
.
read
()
in
g
,
l
finally
:
sys
.
argv
=
save_argv
_setup_stop_after
=
None
...
...
Misc/NEWS
Dosyayı görüntüle @
047e4a91
...
...
@@ -92,11 +92,11 @@ Library
- Changed code in the following modules/packages to remove warnings raised
while running under the ``-3`` flag: aifc, asynchat, asyncore, bdb, bsddb,
ConfigParser, cookielib, csv, difflib,
DocXMLRPCServer, email, filecmp
,
file
input, inspect, logging, modulefinder, pdb, pickle, profile, pstats
,
p
ydoc, re, rlcompleter, SimpleXMLRPCServer, shelve, socket, subprocess
,
s
qlite3, tarfile, Tkinter, test.test_support, textwrap, threading, tokenize
,
traceback, urlparse, wsgiref, xml, xmlrpclib.
ConfigParser, cookielib, csv, difflib,
distutils, DocXMLRPCServer, email
,
file
cmp, fileinput, inspect, logging, modulefinder, pdb, pickle, profile
,
p
stats, pydoc, re, rlcompleter, SimpleXMLRPCServer, shelve, socket
,
s
ubprocess, sqlite3, tarfile, Tkinter, test.test_support, textwrap
,
t
hreading, tokenize, t
raceback, urlparse, wsgiref, xml, xmlrpclib.
- Issue #3039: Fix tarfile.TarFileCompat.writestr() which always
raised an AttributeError.
...
...
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