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
bd2d30cf
Kaydet (Commit)
bd2d30cf
authored
Mar 21, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
üst
6bd52022
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
NEWS
Misc/NEWS
+3
-0
_cursesmodule.c
Modules/_cursesmodule.c
+3
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
bd2d30cf
...
...
@@ -196,6 +196,9 @@ Core and Builtins
Library
-------
- Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt
(CTRL+c).
- Issue #5713: smtplib now handles 421 (closing connection) error codes when
sending mail by closing the socket and reporting the 421 error code via the
exception appropriate to the command that received the error response.
...
...
Modules/_cursesmodule.c
Dosyayı görüntüle @
bd2d30cf
...
...
@@ -1181,6 +1181,9 @@ PyCursesWindow_Get_WCh(PyCursesWindowObject *self, PyObject *args)
return
NULL
;
}
if
(
ct
==
ERR
)
{
if
(
PyErr_CheckSignals
())
return
NULL
;
/* get_wch() returns ERR in nodelay mode */
PyErr_SetString
(
PyCursesError
,
"no input"
);
return
NULL
;
...
...
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