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
ecb863b2
Kaydet (Commit)
ecb863b2
authored
Haz 20, 2011
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert d370d609d09b as requested by Terry Jan Reedy:
"#3067: locale.setlocale() accepts a Unicode locale."
üst
f64a0cff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
locale.py
Lib/locale.py
+1
-1
NEWS
Misc/NEWS
+0
-2
No files found.
Lib/locale.py
Dosyayı görüntüle @
ecb863b2
...
...
@@ -525,7 +525,7 @@ def setlocale(category, locale=None):
category may be given as one of the LC_* values.
"""
if
locale
and
not
isinstance
(
locale
,
basestring
):
if
locale
and
type
(
locale
)
is
not
type
(
""
):
# convert to string
locale
=
normalize
(
_build_localename
(
locale
))
return
_setlocale
(
category
,
locale
)
...
...
Misc/NEWS
Dosyayı görüntüle @
ecb863b2
...
...
@@ -16,8 +16,6 @@ Core and Builtins
Library
-------
- Issue #3067: locale.setlocale() accepts a Unicode locale.
- Issue #11700: mailbox proxy object close methods can now be called multiple
times without error, and _ProxyFile now closes the wrapped file.
...
...
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