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
19b851d1
Kaydet (Commit)
19b851d1
authored
Haz 02, 2011
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sys.checkinterval() now refreshes the current countdown ticker.
üst
88fc6617
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
NEWS
Misc/NEWS
+7
-0
sysmodule.c
Python/sysmodule.c
+1
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
19b851d1
...
...
@@ -16,6 +16,13 @@ Core and Builtins
Library
-------
- sys.setcheckinterval() now updates the current ticker count as well as updating
the check interval, so if the user decreases the check interval, the ticker
doesn'
t
have
to
wind
down
to
zero
from
the
old
starting
point
before
the
new
interval
takes
effect
.
And
if
the
user
increases
the
interval
,
it
makes
sure
the
new
limit
takes
effect
right
away
rather
have
an
early
task
switch
before
recognizing
the
new
interval
.
-
Issue
#
12085
:
Fix
an
attribute
error
in
subprocess
.
Popen
destructor
if
the
constructor
has
failed
,
e
.
g
.
because
of
an
undeclared
keyword
argument
.
Patch
written
by
Oleg
Oshmyan
.
...
...
Python/sysmodule.c
Dosyayı görüntüle @
19b851d1
...
...
@@ -466,6 +466,7 @@ sys_setcheckinterval(PyObject *self, PyObject *args)
{
if
(
!
PyArg_ParseTuple
(
args
,
"i:setcheckinterval"
,
&
_Py_CheckInterval
))
return
NULL
;
_Py_Ticker
=
_Py_CheckInterval
;
Py_INCREF
(
Py_None
);
return
Py_None
;
}
...
...
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