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
e749e219
Kaydet (Commit)
e749e219
authored
Kas 14, 2011
tarafından
Éric Araujo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
packaging cleanup: A few super I missed in 5ae03b1e147a
üst
0efc419d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
cygwinccompiler.py
Lib/packaging/compiler/cygwinccompiler.py
+5
-6
pypi_server.py
Lib/packaging/tests/pypi_server.py
+5
-5
No files found.
Lib/packaging/compiler/cygwinccompiler.py
Dosyayı görüntüle @
e749e219
...
@@ -233,12 +233,11 @@ class CygwinCCompiler(UnixCCompiler):
...
@@ -233,12 +233,11 @@ class CygwinCCompiler(UnixCCompiler):
if
not
debug
:
if
not
debug
:
extra_preargs
.
append
(
"-s"
)
extra_preargs
.
append
(
"-s"
)
UnixCCompiler
.
link
(
self
,
target_desc
,
objects
,
output_filename
,
super
(
CygwinCCompiler
,
self
)
.
link
(
output_dir
,
libraries
,
library_dirs
,
target_desc
,
objects
,
output_filename
,
output_dir
,
libraries
,
runtime_library_dirs
,
library_dirs
,
runtime_library_dirs
,
None
,
# export_symbols, we do this in our def-file
None
,
# export_symbols, we do this in our def-file
debug
,
extra_preargs
,
extra_postargs
,
build_temp
,
debug
,
extra_preargs
,
extra_postargs
,
build_temp
,
target_lang
)
target_lang
)
# -- Miscellaneous methods -----------------------------------------
# -- Miscellaneous methods -----------------------------------------
...
...
Lib/packaging/tests/pypi_server.py
Dosyayı görüntüle @
e749e219
...
@@ -33,7 +33,6 @@ import os
...
@@ -33,7 +33,6 @@ import os
import
queue
import
queue
import
select
import
select
import
threading
import
threading
import
socketserver
from
functools
import
wraps
from
functools
import
wraps
from
http.server
import
HTTPServer
,
SimpleHTTPRequestHandler
from
http.server
import
HTTPServer
,
SimpleHTTPRequestHandler
from
xmlrpc.server
import
SimpleXMLRPCServer
from
xmlrpc.server
import
SimpleXMLRPCServer
...
@@ -270,7 +269,7 @@ class PyPIRequestHandler(SimpleHTTPRequestHandler):
...
@@ -270,7 +269,7 @@ class PyPIRequestHandler(SimpleHTTPRequestHandler):
class
PyPIXMLRPCServer
(
SimpleXMLRPCServer
):
class
PyPIXMLRPCServer
(
SimpleXMLRPCServer
):
def
server_bind
(
self
):
def
server_bind
(
self
):
"""Override server_bind to store the server name."""
"""Override server_bind to store the server name."""
s
ocketserver
.
TCPServer
.
server_bind
(
self
)
s
uper
(
PyPIXMLRPCServer
,
self
)
.
server_bind
(
)
host
,
port
=
self
.
socket
.
getsockname
()[:
2
]
host
,
port
=
self
.
socket
.
getsockname
()[:
2
]
self
.
server_port
=
port
self
.
server_port
=
port
...
@@ -371,12 +370,13 @@ class MockDist:
...
@@ -371,12 +370,13 @@ class MockDist:
'requires_python'
:
self
.
requires_python
,
'requires_python'
:
self
.
requires_python
,
'classifiers'
:
[],
'classifiers'
:
[],
'name'
:
self
.
name
,
'name'
:
self
.
name
,
'licence'
:
self
.
licence
,
'licence'
:
self
.
licence
,
# XXX licence or license?
'summary'
:
self
.
summary
,
'summary'
:
self
.
summary
,
'home_page'
:
self
.
homepage
,
'home_page'
:
self
.
homepage
,
'stable_version'
:
self
.
stable_version
,
'stable_version'
:
self
.
stable_version
,
'provides_dist'
:
self
.
provides_dist
or
"
%
s (
%
s)"
%
(
self
.
name
,
# FIXME doesn't that reproduce the bug from 6527d3106e9f?
self
.
version
),
'provides_dist'
:
(
self
.
provides_dist
or
"
%
s (
%
s)"
%
(
self
.
name
,
self
.
version
)),
'requires'
:
self
.
requires
,
'requires'
:
self
.
requires
,
'cheesecake_installability_id'
:
self
.
cheesecake_installability_id
,
'cheesecake_installability_id'
:
self
.
cheesecake_installability_id
,
}
}
...
...
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