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
e04b627a
Kaydet (Commit)
e04b627a
authored
May 04, 2009
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove old undocumented compat interfaces in hashlib and pwd #5881
üst
ec75312e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
16 deletions
+6
-16
NEWS
Misc/NEWS
+3
-0
_hashopenssl.c
Modules/_hashopenssl.c
+0
-6
pwdmodule.c
Modules/pwdmodule.c
+3
-4
sha256module.c
Modules/sha256module.c
+0
-3
sha512module.c
Modules/sha512module.c
+0
-3
No files found.
Misc/NEWS
Dosyayı görüntüle @
e04b627a
...
...
@@ -176,6 +176,9 @@ Library
Extension Modules
-----------------
- Issue #5881: Remove old undocumented compatibility interfaces in hashlib and
pwd.
- Issue #5463: In struct module, remove deprecated float coercion
for integer type codes: struct.pack('L', 0.3) should now raise
an error. The _PY_STRUCT_FLOAT_COERCE constant has been removed.
...
...
Modules/_hashopenssl.c
Dosyayı görüntüle @
e04b627a
...
...
@@ -281,12 +281,6 @@ static PyGetSetDef EVP_getseters[] = {
(
getter
)
EVP_get_block_size
,
NULL
,
NULL
,
NULL
},
/* the old md5 and sha modules support 'digest_size' as in PEP 247.
* the old sha module also supported 'digestsize'. ugh. */
{
"digestsize"
,
(
getter
)
EVP_get_digest_size
,
NULL
,
NULL
,
NULL
},
{
NULL
}
/* Sentinel */
};
...
...
Modules/pwdmodule.c
Dosyayı görüntüle @
e04b627a
...
...
@@ -203,13 +203,12 @@ PyInit_pwd(void)
if
(
m
==
NULL
)
return
NULL
;
if
(
!
initialized
)
if
(
!
initialized
)
{
PyStructSequence_InitType
(
&
StructPwdType
,
&
struct_pwd_type_desc
);
initialized
=
1
;
}
Py_INCREF
((
PyObject
*
)
&
StructPwdType
);
PyModule_AddObject
(
m
,
"struct_passwd"
,
(
PyObject
*
)
&
StructPwdType
);
/* And for b/w compatibility (this was defined by mistake): */
PyModule_AddObject
(
m
,
"struct_pwent"
,
(
PyObject
*
)
&
StructPwdType
);
initialized
=
1
;
return
m
;
}
Modules/sha256module.c
Dosyayı görüntüle @
e04b627a
...
...
@@ -533,9 +533,6 @@ static PyGetSetDef SHA_getseters[] = {
static
PyMemberDef
SHA_members
[]
=
{
{
"digest_size"
,
T_INT
,
offsetof
(
SHAobject
,
digestsize
),
READONLY
,
NULL
},
/* the old md5 and sha modules support 'digest_size' as in PEP 247.
* the old sha module also supported 'digestsize'. ugh. */
{
"digestsize"
,
T_INT
,
offsetof
(
SHAobject
,
digestsize
),
READONLY
,
NULL
},
{
NULL
}
/* Sentinel */
};
...
...
Modules/sha512module.c
Dosyayı görüntüle @
e04b627a
...
...
@@ -599,9 +599,6 @@ static PyGetSetDef SHA_getseters[] = {
static
PyMemberDef
SHA_members
[]
=
{
{
"digest_size"
,
T_INT
,
offsetof
(
SHAobject
,
digestsize
),
READONLY
,
NULL
},
/* the old md5 and sha modules support 'digest_size' as in PEP 247.
* the old sha module also supported 'digestsize'. ugh. */
{
"digestsize"
,
T_INT
,
offsetof
(
SHAobject
,
digestsize
),
READONLY
,
NULL
},
{
NULL
}
/* Sentinel */
};
...
...
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