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
5a271688
Kaydet (Commit)
5a271688
authored
May 12, 2013
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
prevent IDLE from trying to close when sys.stdin is reassigned (#17838)
üst
6e165b40
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
run.py
Lib/idlelib/run.py
+5
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/run.py
Dosyayı görüntüle @
5a271688
...
@@ -264,6 +264,11 @@ class MyHandler(rpc.RPCHandler):
...
@@ -264,6 +264,11 @@ class MyHandler(rpc.RPCHandler):
IOBinding
.
encoding
)
IOBinding
.
encoding
)
sys
.
stderr
=
PyShell
.
PseudoOutputFile
(
self
.
console
,
"stderr"
,
sys
.
stderr
=
PyShell
.
PseudoOutputFile
(
self
.
console
,
"stderr"
,
IOBinding
.
encoding
)
IOBinding
.
encoding
)
# Keep a reference to stdin so that it won't try to exit IDLE if
# sys.stdin gets changed from within IDLE's shell. See issue17838.
self
.
_keep_stdin
=
sys
.
stdin
self
.
interp
=
self
.
get_remote_proxy
(
"interp"
)
self
.
interp
=
self
.
get_remote_proxy
(
"interp"
)
rpc
.
RPCHandler
.
getresponse
(
self
,
myseq
=
None
,
wait
=
0.05
)
rpc
.
RPCHandler
.
getresponse
(
self
,
myseq
=
None
,
wait
=
0.05
)
...
...
Misc/NEWS
Dosyayı görüntüle @
5a271688
...
@@ -122,6 +122,8 @@ Tests
...
@@ -122,6 +122,8 @@ Tests
IDLE
IDLE
----
----
- Issue #17838: Allow sys.stdin to be reassigned.
- Issue #14735: Update IDLE docs to omit "Control-z on Windows".
- Issue #14735: Update IDLE docs to omit "Control-z on Windows".
- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit().
- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit().
...
...
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