Skip to content

[waitress] Replace FloatInt with proper types - #16952

Merged
srittau merged 1 commit into
python:mainfrom
Razepriv:floatint-waitress
Dec 2, 2026
Merged

srittau merged 1 commit into
python:mainfrom
Razepriv:floatint-waitress

Conversation

@Razepriv

@Razepriv Razepriv commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Part of #16059.

HTTPChannel.last_activity and creation_time are always set from time.time() (source), so they are float. The poll()/poll2()/loop() timeouts are passed to time.sleep(), select.select() or int(timeout * 1000) (source), so they accept ints.

Prepared with Claude Code (Claude Opus 5.5).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings December 2, 2026 15:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 2be356f into python:main Dec 2, 2026
74 checks passed
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.

3 participants