Skip to content

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Mar 12, 2020

No description provided.

zooba and others added 12 commits March 11, 2020 14:12
Makes it an error to create a layout without vcruntime DLL
…n which coroutines were awaited (GH-18924)

Create call objects with awaited arguments instead of using call_args which has only last call value.
Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017.
The 32-bit (49-day) TickCount relied on in EnterNonRecursiveMutex can overflow
in the gap between the 'target' time and the 'now' time WaitForSingleObjectEx
returns, causing the loop to think it needs to wait another 49 days. This is
most likely to happen when the machine is hibernated during
WaitForSingleObjectEx.

This makes acquiring a lock/event/etc from the _thread or threading module
appear to never timeout.

Replace with GetTickCount64 - this is OK now Python no longer supports XP which
lacks it, and is in use for time.monotonic().

Co-authored-by: And Clover <[email protected]>
@sthagen sthagen merged commit ec06423 into sthagen:master Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants