[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Ricardo Fraile
Ricardo Fraile added the comment: Impressive response time, thanks team! -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: Joannah Nanjekye added time.CLOCK_UPTIME_RAW to the master branch (future Python 3.8). We don't add feature to stable versions (like 3.7), so I close the issue. Thanks Ricardo Fraile for the report, I wasn't aware of this clock ;-) Note: Until Python 3.8 is

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 572168a016ece1b7346695eb7289190c46f1ae55 by Victor Stinner (Joannah Nanjekye) in branch 'master': bpo-35702: Add new identifier time.CLOCK_UPTIME_RAW for macOS 10.12 (GH-11503) https://github.com/python/cpython/commit/572168a016ece1b7346695eb728

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: > As the behaviour is equivalent, maybe it can be assigned to the existing > time.CLOCK_UPTIME funtion. Nah, in Python we map directly to OS constant and don't try to be smart. It's up to the user of these constants to make their own choice. Use Python func

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch, patch, patch pull_requests: +11037, 11038, 11039 stage: -> patch review ___ Python tracker ___ __

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch, patch pull_requests: +11037, 11038 stage: -> patch review ___ Python tracker ___

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +11037 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I am working on this. -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mai

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-09 Thread Ricardo F
New submission from Ricardo F : Finally since the release of OSX 10.12 the equivalent from the FreeBSD and OpenBSD "CLOCK_UPTIME" is available on Darwin under the name "CLOCK_UPTIME_RAW": CLOCK_UPTIME FreeBSD [1]: Starts at zero when the kernel boots and increments monotonically in SI seconds