Skip to content

[convertdate] Replace FloatInt with float | int - #17031

Open
Razepriv wants to merge 1 commit into
python:mainfrom
Razepriv:floatint-convertdate
Open

Razepriv wants to merge 1 commit into
python:mainfrom
Razepriv:floatint-convertdate

Conversation

@Razepriv

@Razepriv Razepriv commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Part of #16059.

All of these are Julian day counts (and DayCount.epoch, stored from __init__) that are only used in arithmetic, math.floor()/math.trunc() and % 1 (e.g. source, 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 5, 2026 15:12

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 5, 2026

Copy link
Copy Markdown
Contributor

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

This branch has not been deployed

No deployments
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.

2 participants