Ned Deily <n...@python.org> added the comment:

Raynmond:

> Something in the release build process is triggering this behavior (perhaps 
> PGO).

The difference is explained in msg33731. When 3.7+ is built on macoS 10.11.x+ 
and earlier, clock_gettime is not available and the PEP 564 refactored code 
falls back to using getrusage as it did correctly prior to 3.7.  But there 
seems to be a bug in the 3.7 refactored fallback code that gives a result about 
twice as big as seen in the results of either the proposed test case in PR 
12287 or, more simply, the test code in the StackOverflow issue cited above 
(https://stackoverflow.com/questions/55008397/python-3-5-vs-3-7-process-time).  
The pre-PEP 564 code in 3.6.x and earlier works correctly regardless on what 
version of macOS Python was built. 

Since this problem has apparently been around since 3.7.0 with the 
implementation of PEP 564, it should not act as a release blocker for 3.8.0.  
But it *really* needs to be fixed.

Victor, could you please find some time to look at this?  Thanks!

----------
assignee:  -> vstinner
priority: release blocker -> critical
versions: +Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to