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
df828083
Kaydet (Commit)
df828083
authored
Mar 20, 2017
tarafından
Benjamin Peterson
Kaydeden (comit)
GitHub
Mar 20, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-20087: Revert "make the glibc alias table take precedence over the X11 one (#422)" (#713)
This reverts commit
02371e0e
.
üst
e46fb861
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
7 deletions
+2
-7
locale.py
Lib/locale.py
+0
-0
test_locale.py
Lib/test/test_locale.py
+1
-4
NEWS
Misc/NEWS
+0
-2
makelocalealias.py
Tools/i18n/makelocalealias.py
+1
-1
No files found.
Lib/locale.py
Dosyayı görüntüle @
df828083
This diff is collapsed.
Click to expand it.
Lib/test/test_locale.py
Dosyayı görüntüle @
df828083
...
...
@@ -449,7 +449,7 @@ class NormalizeTest(unittest.TestCase):
self
.
check
(
'ko_kr.euckr'
,
'ko_KR.eucKR'
)
self
.
check
(
'zh_cn.euc'
,
'zh_CN.eucCN'
)
self
.
check
(
'zh_tw.euc'
,
'zh_TW.eucTW'
)
self
.
check
(
'zh_tw.euctw'
,
'zh_TW.
EUC_
TW'
)
self
.
check
(
'zh_tw.euctw'
,
'zh_TW.
euc
TW'
)
def
test_japanese
(
self
):
self
.
check
(
'ja'
,
'ja_JP.eucJP'
)
...
...
@@ -475,9 +475,6 @@ class NormalizeTest(unittest.TestCase):
self
.
check
(
'japanese.sjis'
,
'ja_JP.SJIS'
)
self
.
check
(
'jp_jp'
,
'ja_JP.eucJP'
)
def
test_en_IN
(
self
):
self
.
check
(
'en_IN'
,
'en_IN.UTF-8'
)
class
TestMiscellaneous
(
unittest
.
TestCase
):
def
test_getpreferredencoding
(
self
):
...
...
Misc/NEWS
Dosyayı görüntüle @
df828083
...
...
@@ -30,8 +30,6 @@ Core and Builtins
-
bpo
-
29695
:
bool
(),
float
(),
list
()
and
tuple
()
no
longer
take
keyword
arguments
.
The
first
argument
of
int
()
can
now
be
passes
only
as
positional
argument
.
-
bpo
-
20087
:
Prefer
glibc
's list of locale aliases to the X11 ones.
-
bpo
-
28893
:
Set
correct
__cause__
for
errors
about
invalid
awaitables
returned
from
__aiter__
and
__anext__
.
...
...
Tools/i18n/makelocalealias.py
Dosyayı görüntüle @
df828083
...
...
@@ -135,8 +135,8 @@ if __name__ == '__main__':
args
=
parser
.
parse_args
()
data
=
locale
.
locale_alias
.
copy
()
data
.
update
(
parse
(
args
.
locale_alias
))
data
.
update
(
parse_glibc_supported
(
args
.
glibc_supported
))
data
.
update
(
parse
(
args
.
locale_alias
))
while
True
:
# Repeat optimization while the size is decreased.
n
=
len
(
data
)
...
...
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