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
0a40ffb1
Kaydet (Commit)
0a40ffb1
authored
Şub 13, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#2063: correct order of utime and stime in os.times()
result on Windows.
üst
5f8bd372
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
os.rst
Doc/library/os.rst
+1
-1
NEWS
Misc/NEWS
+2
-0
posixmodule.c
Modules/posixmodule.c
+2
-2
No files found.
Doc/library/os.rst
Dosyayı görüntüle @
0a40ffb1
...
@@ -1846,7 +1846,7 @@ written in Python, such as a mail server's external command delivery program.
...
@@ -1846,7 +1846,7 @@ written in Python, such as a mail server's external command delivery program.
user time, children's system time, and elapsed real time since a fixed point in
user time, children's system time, and elapsed real time since a fixed point in
the past, in that order. See the Unix manual page :manpage:`times(2)` or the
the past, in that order. See the Unix manual page :manpage:`times(2)` or the
corresponding Windows Platform API documentation. Availability: Macintosh, Unix,
corresponding Windows Platform API documentation. Availability: Macintosh, Unix,
Windows.
Windows.
On Windows, only the first two items are filled, the others are zero.
.. function:: wait()
.. function:: wait()
...
...
Misc/NEWS
Dosyayı görüntüle @
0a40ffb1
...
@@ -1132,6 +1132,8 @@ Library
...
@@ -1132,6 +1132,8 @@ Library
Extension Modules
Extension Modules
-----------------
-----------------
- #2063: correct order of utime and stime in os.times() result on Windows.
- Patch #1736: Fix file name handling of _msi.FCICreate.
- Patch #1736: Fix file name handling of _msi.FCICreate.
- Updated ``big5hkscs`` codec to the HKSCS revision of 2004.
- Updated ``big5hkscs`` codec to the HKSCS revision of 2004.
...
...
Modules/posixmodule.c
Dosyayı görüntüle @
0a40ffb1
...
@@ -5987,10 +5987,10 @@ posix_times(PyObject *self, PyObject *noargs)
...
@@ -5987,10 +5987,10 @@ posix_times(PyObject *self, PyObject *noargs)
*/
*/
return
Py_BuildValue
(
return
Py_BuildValue
(
"ddddd"
,
"ddddd"
,
(
double
)(
kernel
.
dwHighDateTime
*
429
.
4967296
+
kernel
.
dwLowDateTime
*
1e-7
),
(
double
)(
user
.
dwHighDateTime
*
429
.
4967296
+
(
double
)(
user
.
dwHighDateTime
*
429
.
4967296
+
user
.
dwLowDateTime
*
1e-7
),
user
.
dwLowDateTime
*
1e-7
),
(
double
)(
kernel
.
dwHighDateTime
*
429
.
4967296
+
kernel
.
dwLowDateTime
*
1e-7
),
(
double
)
0
,
(
double
)
0
,
(
double
)
0
,
(
double
)
0
,
(
double
)
0
);
(
double
)
0
);
...
...
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