Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Use index() instead of testing int(x)==x
Deprecate float arguments and the ValueError
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
bpo-37319: Deprecated support of non-integer arguments in random.randrange(). #19112
github-actions Bot commented Dec 16, 2020
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Cover the case with a unit step
bpo-42222: Modernize integer test/conversion in randrange() (
bpo-46066: Deprecate kwargs syntax for TypedDict definitions #31126