Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 5, 2025

  • Replace _PyTime_AsLong() with PyLong_FromInt64()
  • Replace _PyTime_FromLong() with PyLong_AsInt64().

* Replace _PyTime_AsLong() with PyLong_FromInt64()
* Replace _PyTime_FromLong() with PyLong_AsInt64().
@StanFromIreland StanFromIreland added the type-refactor Code refactoring (with no changes in behavior) label Nov 5, 2025
Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

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

LGTM

@vstinner vstinner merged commit 8d55faf into python:main Nov 5, 2025
46 checks passed
@vstinner vstinner deleted the pytime_conv branch November 5, 2025 17:37
@vstinner
Copy link
Member Author

vstinner commented Nov 5, 2025

Merged, thanks for review @StanFromIreland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news type-refactor Code refactoring (with no changes in behavior)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants