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
ee50e3c7
Kaydet (Commit)
ee50e3c7
authored
Ock 26, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#1940: make it possible to use curses.filter() before curses.initscr()
as the documentation says. (backport from rev. 60322)
üst
6bf585e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
NEWS
Misc/NEWS
+3
-0
_cursesmodule.c
Modules/_cursesmodule.c
+10
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
ee50e3c7
...
...
@@ -212,6 +212,9 @@ Library
Extension
Modules
-----------------
-
#
1940
:
make
it
possible
to
use
curses
.
filter
()
before
curses
.
initscr
()
as
the
documentation
says
.
-
Fix
a
potential
'SystemError: NULL result without error'
in
_ctypes
.
-
Prevent
a
segfault
when
a
ctypes
NULL
function
pointer
is
called
.
...
...
Modules/_cursesmodule.c
Dosyayı görüntüle @
ee50e3c7
...
...
@@ -1619,10 +1619,19 @@ NoArgTrueFalseFunction(has_colors)
NoArgTrueFalseFunction
(
has_ic
)
NoArgTrueFalseFunction
(
has_il
)
NoArgTrueFalseFunction
(
isendwin
)
NoArgNoReturnVoidFunction
(
filter
)
NoArgNoReturnVoidFunction
(
flushinp
)
NoArgNoReturnVoidFunction
(
noqiflush
)
static
PyObject
*
PyCurses_filter
(
PyObject
*
self
)
{
/* not checking for PyCursesInitialised here since filter() must
be called before initscr() */
filter
();
Py_INCREF
(
Py_None
);
return
Py_None
;
}
static
PyObject
*
PyCurses_Color_Content
(
PyObject
*
self
,
PyObject
*
args
)
{
...
...
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