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
a31f4cc8
Kaydet (Commit)
a31f4cc8
authored
Şub 12, 2019
tarafından
Rémi Lapeyre
Kaydeden (comit)
Giampaolo Rodola
Şub 12, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35918: Remove broken has_key method and add test (#11819)
üst
522346d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
managers.py
Lib/multiprocessing/managers.py
+1
-1
_test_multiprocessing.py
Lib/test/_test_multiprocessing.py
+0
-2
2019-02-11-16-23-10.bpo-35918.oGDlpT.rst
...S.d/next/Library/2019-02-11-16-23-10.bpo-35918.oGDlpT.rst
+2
-0
No files found.
Lib/multiprocessing/managers.py
Dosyayı görüntüle @
a31f4cc8
...
@@ -1135,7 +1135,7 @@ class ListProxy(BaseListProxy):
...
@@ -1135,7 +1135,7 @@ class ListProxy(BaseListProxy):
DictProxy
=
MakeProxyType
(
'DictProxy'
,
(
DictProxy
=
MakeProxyType
(
'DictProxy'
,
(
'__contains__'
,
'__delitem__'
,
'__getitem__'
,
'__iter__'
,
'__len__'
,
'__contains__'
,
'__delitem__'
,
'__getitem__'
,
'__iter__'
,
'__len__'
,
'__setitem__'
,
'clear'
,
'copy'
,
'get'
,
'
has_key'
,
'
items'
,
'__setitem__'
,
'clear'
,
'copy'
,
'get'
,
'items'
,
'keys'
,
'pop'
,
'popitem'
,
'setdefault'
,
'update'
,
'values'
'keys'
,
'pop'
,
'popitem'
,
'setdefault'
,
'update'
,
'values'
))
))
DictProxy
.
_method_to_typeid_
=
{
DictProxy
.
_method_to_typeid_
=
{
...
...
Lib/test/_test_multiprocessing.py
Dosyayı görüntüle @
a31f4cc8
...
@@ -4897,8 +4897,6 @@ class TestSyncManagerTypes(unittest.TestCase):
...
@@ -4897,8 +4897,6 @@ class TestSyncManagerTypes(unittest.TestCase):
assert
len
(
obj
)
==
1
assert
len
(
obj
)
==
1
assert
obj
[
'foo'
]
==
5
assert
obj
[
'foo'
]
==
5
assert
obj
.
get
(
'foo'
)
==
5
assert
obj
.
get
(
'foo'
)
==
5
# TODO: fix https://bugs.python.org/issue35918
# assert obj.has_key('foo')
assert
list
(
obj
.
items
())
==
[(
'foo'
,
5
)]
assert
list
(
obj
.
items
())
==
[(
'foo'
,
5
)]
assert
list
(
obj
.
keys
())
==
[
'foo'
]
assert
list
(
obj
.
keys
())
==
[
'foo'
]
assert
list
(
obj
.
values
())
==
[
5
]
assert
list
(
obj
.
values
())
==
[
5
]
...
...
Misc/NEWS.d/next/Library/2019-02-11-16-23-10.bpo-35918.oGDlpT.rst
0 → 100644
Dosyayı görüntüle @
a31f4cc8
Removed broken ``has_key`` method from
multiprocessing.managers.SyncManager.dict. Contributed by Rémi Lapeyre.
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