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
f150378e
Kaydet (Commit)
f150378e
authored
Haz 11, 2014
tarafından
Larry Hastings
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #21629: Fix Argument Clinic's "--converters" feature.
üst
80f2262d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
NEWS
Misc/NEWS
+5
-0
clinic.py
Tools/clinic/clinic.py
+1
-3
No files found.
Misc/NEWS
Dosyayı görüntüle @
f150378e
...
...
@@ -118,6 +118,11 @@ Windows
-
Issue
#
21671
,
CVE
-
2014
-
0224
:
The
bundled
version
of
OpenSSL
has
been
updated
to
1.0.1
h
.
Tools
/
Demos
-----------
-
Issue
#
21629
:
Fix
Argument
Clinic
's "--converters" feature.
What'
s
New
in
Python
3.4.1
?
===========================
...
...
Tools/clinic/clinic.py
Dosyayı görüntüle @
f150378e
...
...
@@ -2044,11 +2044,9 @@ def add_default_legacy_c_converter(cls):
# automatically add converter for default format unit
# (but without stomping on the existing one if it's already
# set, in case you subclass)
if
((
cls
.
format_unit
!=
'O&'
)
and
if
((
cls
.
format_unit
not
in
(
'O&'
,
''
)
)
and
(
cls
.
format_unit
not
in
legacy_converters
)):
legacy_converters
[
cls
.
format_unit
]
=
cls
if
cls
.
format_unit
:
legacy_converters
[
cls
.
format_unit
]
=
cls
return
cls
def
add_legacy_c_converter
(
format_unit
,
**
kwargs
):
...
...
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