Skip to content

Conversation

@trim21
Copy link

@trim21 trim21 commented Nov 4, 2025

skip issue

the referenced link is for driver but not userland application and we are not using that API, change it to the correct docs and correct the windows version range (which comes from windows's docs)

here is the corresponding code:

HANDLE timer = CreateWaitableTimerExW(NULL, NULL, timer_flags,


📚 Documentation preview 📚: https://cpython-previews--140978.org.readthedocs.build/

Update Windows version reference in time.rst
Copilot AI review requested due to automatic review settings November 4, 2025 09:39
@python-cla-bot
Copy link

python-cla-bot bot commented Nov 4, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation for the time.sleep() function to reflect more accurate Windows implementation details. The changes specify the exact Windows version where high-resolution timer support was introduced and update the reference link to point to the specific API documentation.

  • Updated Windows version requirement from "Windows 8.1 and newer" to "Windows 10 version 1803, and later"
  • Changed the high-resolution timer documentation link from the general kernel timers page to the specific CreateWaitableTimerExW API reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@trim21 trim21 changed the title Clarify Windows version for high-resolution timer Docs: Clarify Windows version for high-resolution timer Nov 4, 2025
@trim21 trim21 closed this Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant