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
236d0b75
Kaydet (Commit)
236d0b75
authored
Nis 15, 2019
tarafından
pxinwr
Kaydeden (comit)
Victor Stinner
Nis 15, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31904: Don't build the _crypt extension on VxWorks (GH-12833)
üst
2430d532
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
crypt.rst
Doc/library/crypt.rst
+2
-0
2019-04-15-15-01-29.bpo-31904.38fdkg.rst
...EWS.d/next/Build/2019-04-15-15-01-29.bpo-31904.38fdkg.rst
+1
-0
setup.py
setup.py
+7
-6
No files found.
Doc/library/crypt.rst
Dosyayı görüntüle @
236d0b75
...
@@ -30,6 +30,8 @@ the :manpage:`crypt(3)` routine in the running system. Therefore, any
...
@@ -30,6 +30,8 @@ the :manpage:`crypt(3)` routine in the running system. Therefore, any
extensions available on the current implementation will also be available on
extensions available on the current implementation will also be available on
this module.
this module.
.. availability:: Unix. Not available on VxWorks.
Hashing Methods
Hashing Methods
---------------
---------------
...
...
Misc/NEWS.d/next/Build/2019-04-15-15-01-29.bpo-31904.38fdkg.rst
0 → 100644
Dosyayı görüntüle @
236d0b75
Don't build the ``_crypt`` extension on VxWorks.
setup.py
Dosyayı görüntüle @
236d0b75
...
@@ -973,17 +973,18 @@ class PyBuildExt(build_ext):
...
@@ -973,17 +973,18 @@ class PyBuildExt(build_ext):
def
detect_crypt
(
self
):
def
detect_crypt
(
self
):
# crypt module.
# crypt module.
if
VXWORKS
:
# bpo-31904: crypt() function is not provided by VxWorks.
# DES_crypt() OpenSSL provides is too weak to implement
# the encryption.
return
if
self
.
compiler
.
find_library_file
(
self
.
lib_dirs
,
'crypt'
):
if
self
.
compiler
.
find_library_file
(
self
.
lib_dirs
,
'crypt'
):
libs
=
[
'crypt'
]
libs
=
[
'crypt'
]
else
:
else
:
libs
=
[]
libs
=
[]
if
not
VXWORKS
:
self
.
add
(
Extension
(
'_crypt'
,
[
'_cryptmodule.c'
],
self
.
add
(
Extension
(
'_crypt'
,
[
'_cryptmodule.c'
],
libraries
=
libs
))
elif
self
.
compiler
.
find_library_file
(
self
.
lib_dirs
,
'OPENSSL'
):
libs
=
[
'OPENSSL'
]
self
.
add
(
Extension
(
'_crypt'
,
[
'_cryptmodule.c'
],
libraries
=
libs
))
libraries
=
libs
))
def
detect_socket
(
self
):
def
detect_socket
(
self
):
...
...
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