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
c5e8935d
Kaydet (Commit)
c5e8935d
authored
Ock 17, 2016
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
üst
4ffee615
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
CREDITS.txt
Lib/idlelib/CREDITS.txt
+1
-1
aboutDialog.py
Lib/idlelib/aboutDialog.py
+6
-3
No files found.
Lib/idlelib/CREDITS.txt
Dosyayı görüntüle @
c5e8935d
...
...
@@ -24,7 +24,7 @@ Noam Raphael (Code Context, Call Tips, many other patches), and Chui Tey (RPC
integration, debugger integration and persistent breakpoints).
Scott David Daniels, Tal Einat, Hernan Foffani, Christos Georgiou,
Jim Jewett, Martin v. Löwis, Jason Orendorff, Guilherme Polo, Josh Robb,
Jim Jewett, Martin v. L
ö
wis, Jason Orendorff, Guilherme Polo, Josh Robb,
Nigel Rowe, Bruce Sherwood, Jeff Shute, and Weeble have submitted useful
patches. Thanks, guys!
...
...
Lib/idlelib/aboutDialog.py
Dosyayı görüntüle @
c5e8935d
...
...
@@ -110,6 +110,7 @@ class AboutDialog(Toplevel):
command
=
self
.
ShowIDLECredits
)
idle_credits_b
.
pack
(
side
=
LEFT
,
padx
=
10
,
pady
=
10
)
# License, et all, are of type _sitebuiltins._Printer
def
ShowLicense
(
self
):
self
.
display_printer_text
(
'About - License'
,
license
)
...
...
@@ -119,14 +120,16 @@ class AboutDialog(Toplevel):
def
ShowPythonCredits
(
self
):
self
.
display_printer_text
(
'About - Python Credits'
,
credits
)
# Encode CREDITS.txt to utf-8 for proper version of Loewis.
# Specify others as ascii until need utf-8, so catch errors.
def
ShowIDLECredits
(
self
):
self
.
display_file_text
(
'About - Credits'
,
'CREDITS.txt'
,
'
iso-8859-1
'
)
self
.
display_file_text
(
'About - Credits'
,
'CREDITS.txt'
,
'
utf-8
'
)
def
ShowIDLEAbout
(
self
):
self
.
display_file_text
(
'About - Readme'
,
'README.txt'
)
self
.
display_file_text
(
'About - Readme'
,
'README.txt'
,
'ascii'
)
def
ShowIDLENEWS
(
self
):
self
.
display_file_text
(
'About - NEWS'
,
'NEWS.txt'
)
self
.
display_file_text
(
'About - NEWS'
,
'NEWS.txt'
,
'ascii'
)
def
display_printer_text
(
self
,
title
,
printer
):
printer
.
_Printer__setup
()
...
...
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