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
572168a0
Kaydet (Commit)
572168a0
authored
Ock 10, 2019
tarafından
Joannah Nanjekye
Kaydeden (comit)
Victor Stinner
Ock 10, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35702: Add new identifier time.CLOCK_UPTIME_RAW for macOS 10.12 (GH-11503)
üst
89c4f90d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
0 deletions
+23
-0
time.rst
Doc/library/time.rst
+12
-0
3.8.rst
Doc/whatsnew/3.8.rst
+6
-0
2019-01-10-14-03-12.bpo-35702._ct_0H.rst
...S.d/next/Library/2019-01-10-14-03-12.bpo-35702._ct_0H.rst
+2
-0
timemodule.c
Modules/timemodule.c
+3
-0
No files found.
Doc/library/time.rst
Dosyayı görüntüle @
572168a0
...
@@ -815,9 +815,21 @@ These constants are used as parameters for :func:`clock_getres` and
...
@@ -815,9 +815,21 @@ These constants are used as parameters for :func:`clock_getres` and
.. versionadded:: 3.7
.. versionadded:: 3.7
.. data:: CLOCK_UPTIME_RAW
Clock that increments monotonically, tracking the time since an arbitrary
point, unaffected by frequency or time adjustments and not incremented while
the system is asleep.
.. availability:: macOS 10.12 and newer.
.. versionadded:: 3.8
The following constant is the only parameter that can be sent to
The following constant is the only parameter that can be sent to
:func:`clock_settime`.
:func:`clock_settime`.
.. data:: CLOCK_REALTIME
.. data:: CLOCK_REALTIME
System-wide real-time clock. Setting this clock requires appropriate
System-wide real-time clock. Setting this clock requires appropriate
...
...
Doc/whatsnew/3.8.rst
Dosyayı görüntüle @
572168a0
...
@@ -234,6 +234,12 @@ Added method :meth:`~tkinter.Canvas.moveto`
...
@@ -234,6 +234,12 @@ Added method :meth:`~tkinter.Canvas.moveto`
in the :class:`tkinter.Canvas` class.
in the :class:`tkinter.Canvas` class.
(Contributed by Juliette Monsel in :issue:`23831`.)
(Contributed by Juliette Monsel in :issue:`23831`.)
time
----
Added new clock :data:`~time.CLOCK_UPTIME_RAW` for macOS 10.12.
(Contributed by Joannah Nanjekye in :issue:`35702`.)
unicodedata
unicodedata
-----------
-----------
...
...
Misc/NEWS.d/next/Library/2019-01-10-14-03-12.bpo-35702._ct_0H.rst
0 → 100644
Dosyayı görüntüle @
572168a0
The :data:`time.CLOCK_UPTIME_RAW` constant is now available for macOS 10.12.
\ No newline at end of file
Modules/timemodule.c
Dosyayı görüntüle @
572168a0
...
@@ -1806,6 +1806,9 @@ PyInit_time(void)
...
@@ -1806,6 +1806,9 @@ PyInit_time(void)
#ifdef CLOCK_UPTIME
#ifdef CLOCK_UPTIME
PyModule_AddIntMacro
(
m
,
CLOCK_UPTIME
);
PyModule_AddIntMacro
(
m
,
CLOCK_UPTIME
);
#endif
#endif
#ifdef CLOCK_UPTIME_RAW
PyModule_AddIntMacro
(
m
,
CLOCK_UPTIME_RAW
);
#endif
#endif
/* defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES) */
#endif
/* defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES) */
...
...
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