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-101810: Remove duplicated st_ino calculation#101811

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
zooba merged 1 commit intopython:mainfromjuria90:patch-1
Feb 13, 2023

Conversation

juria90
Copy link
Contributor

The deletedstatus->st_ino = (((uint64_t)info.nFileIndexHigh) << 32) + info.nFileIndexLow; is already calculated and assigned in the function_Py_attribute_data_to_stat(). So removing the duplicated code.

The deleted `status->st_ino = (((uint64_t)info.nFileIndexHigh) << 32) + info.nFileIndexLow;` is already calculated and assigned in the function `_Py_attribute_data_to_stat()`.So removing the duplicated code.
@ghost
Copy link

ghost commentedFeb 10, 2023
edited by ghost
Loading

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

Most changes to Pythonrequire a NEWS entry.

Please add it using theblurb_it web app or theblurb command-line tool.

@juria90
Copy link
ContributorAuthor

Seems like we don't need a NEWS entry for removing duplicated code, IMO.

zooba reacted with thumbs up emoji

@eryksuneryksun requested a review froma teamFebruary 11, 2023 02:17
@zoobazooba merged commit95cbb3d intopython:mainFeb 13, 2023
carljm added a commit to carljm/cpython that referenced this pull requestFeb 13, 2023
* main:pythongh-101810: Remove duplicated st_ino calculation (pythonGH-101811)pythongh-92547: Purge sqlite3_enable_shared_cache() detection from configure (python#101873)pythonGH-100987: Refactor `_PyInterpreterFrame` a bit, to assist generator improvement. (pythonGH-100988)pythonGH-87849: Simplify stack effect of SEND and specialize it for generators and coroutines. (pythonGH-101788)  Correct trivial grammar in reset_mock docs (python#101861)pythongh-101845: pyspecific: Fix i18n for availability directive (pythonGH-101846)pythongh-89792: Limit test_tools freeze test build parallelism based on the number of cores (python#101841)pythongh-85984: Utilize new "winsize" functions from termios in pty tests. (python#101831)pythongh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (python#101837)  Fix typo in test_fstring.py (python#101823)pythonGH-101797: allocate `PyExpat_CAPI` capsule on heap (python#101798)pythongh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (pythonGH-101391)
@eryksun
Copy link
Contributor

@zooba, do you plan to backport this fix to 3.10 and 3.11? 3.10.11 is scheduled to be released on 3 April. It's the last bugfix release for 3.10.

@zooba
Copy link
Member

It's not really a bug fix though, and I didn't go through older versions to make sure it's duplicated there (and the backport PR won't detect it if it's not).

@zooba
Copy link
Member

Okay, just saw that you checked out the history on the issue.

But I've been told off once this week for backporting perf-only changes, so I think I'll leave this one where it is.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@juria90@bedevere-bot@eryksun@zooba

[8]ページ先頭

©2009-2025 Movatter.jp