Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-110850: Rename internal PyTime C API functions#115734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 2 commits intopython:mainfromvstinner:pytime_rename
Feb 20, 2024

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedFeb 20, 2024
edited by bedevere-appbot
Loading

Rename functions:

  • _PyTime_GetSystemClock() => _PyTime_TimeUnchecked()
  • _PyTime_GetPerfCounter() => _PyTime_PerfCounterUnchecked()
  • _PyTime_GetMonotonicClock() => _PyTime_MonotonicUnchecked()
  • _PyTime_GetSystemClockWithInfo() => _PyTime_TimeWithInfo()
  • _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()
  • _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()

Changes:

  • Remove "typedef PyTime_t PyTime_t;" which was "typedef PyTime_t _PyTime_t;" before a previous rename.
  • Update comments of "Unchecked" functions.
  • Remove invalid PyTime_Time() comment.

Rename functions:* _PyTime_GetSystemClock() => _PyTime_TimeUnchecked()* _PyTime_GetPerfCounter() => _PyTime_PerfCounterUnchecked()* _PyTime_GetMonotonicClock() => _PyTime_MonotonicUnchecked()* _PyTime_GetSystemClockWithInfo() => _PyTime_TimeWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()Changes:* Remove "typedef PyTime_t PyTime_t;" which was  "typedef PyTime_t _PyTime_t;" before a previous rename.* Update comments of "Unchecked" functions.* Remove invalid PyTime_Time() comment.
@vstinnervstinner merged commit52d1477 intopython:mainFeb 20, 2024
@vstinnervstinner deleted the pytime_rename branchFebruary 20, 2024 22:16
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull requestMar 4, 2024
Rename functions:* _PyTime_GetSystemClock() => _PyTime_TimeUnchecked()* _PyTime_GetPerfCounter() => _PyTime_PerfCounterUnchecked()* _PyTime_GetMonotonicClock() => _PyTime_MonotonicUnchecked()* _PyTime_GetSystemClockWithInfo() => _PyTime_TimeWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()Changes:* Remove "typedef PyTime_t PyTime_t;" which was  "typedef PyTime_t _PyTime_t;" before a previous rename.* Update comments of "Unchecked" functions.* Remove invalid PyTime_Time() comment.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 17, 2024
Rename functions:* _PyTime_GetSystemClock() => _PyTime_TimeUnchecked()* _PyTime_GetPerfCounter() => _PyTime_PerfCounterUnchecked()* _PyTime_GetMonotonicClock() => _PyTime_MonotonicUnchecked()* _PyTime_GetSystemClockWithInfo() => _PyTime_TimeWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()Changes:* Remove "typedef PyTime_t PyTime_t;" which was  "typedef PyTime_t _PyTime_t;" before a previous rename.* Update comments of "Unchecked" functions.* Remove invalid PyTime_Time() comment.
LukasWoodtli pushed a commit to LukasWoodtli/cpython that referenced this pull requestJan 22, 2025
Rename functions:* _PyTime_GetSystemClock() => _PyTime_TimeUnchecked()* _PyTime_GetPerfCounter() => _PyTime_PerfCounterUnchecked()* _PyTime_GetMonotonicClock() => _PyTime_MonotonicUnchecked()* _PyTime_GetSystemClockWithInfo() => _PyTime_TimeWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()* _PyTime_GetMonotonicClockWithInfo() => _PyTime_MonotonicWithInfo()Changes:* Remove "typedef PyTime_t PyTime_t;" which was  "typedef PyTime_t _PyTime_t;" before a previous rename.* Update comments of "Unchecked" functions.* Remove invalid PyTime_Time() comment.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rhettingerrhettingerAwaiting requested review from rhettingerrhettinger is a code owner

@pgansslepganssleAwaiting requested review from pgansslepganssle is a code owner

@abalkinabalkinAwaiting requested review from abalkinabalkin is a code owner

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@kumaraditya303kumaraditya303Awaiting requested review from kumaraditya303kumaraditya303 is a code owner

Assignees
No one assigned
Labels
3.13bugs and security fixesskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp