Rajiv Vijayakumar added the comment:
I think I have found the root cause - there appears to be a typo in the rusage
implementation - instead of computing the total time as utime+stime, the code
performs utime+utime, which explains the doubling observed. I have create a PR
with the fix.
My
Change by Rajiv Vijayakumar :
--
pull_requests: +15215
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15538
___
Python tracker
<https://bugs.python.org/issu
New submission from Rajiv Vijayakumar :
Per PEP 567 and the contextvars documentation, I expected that a ContextVar
would have a "name" read-only attribute. However I get an AttributeError when
accessing ContextVar.name with 3.7.0rc1:
> python
Python 3.7.0rc1 (v3.7.0rc1:dfad3