Skip to content

Comments

Fix get_operating_system_and_architecture#9319

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
jooon:fix_interpreter_info
Nov 21, 2024
Merged

Fix get_operating_system_and_architecture#9319
charliermarsh merged 1 commit intoastral-sh:mainfrom
jooon:fix_interpreter_info

Conversation

@jooon
Copy link
Contributor

@jooon jooon commented Nov 21, 2024

_get_glibc_version() can after #9005 return either (0, 0) if glibc
string is missing or (-1, -1) if the string can't be parsed. There was
no need to change missing string to (0, 0).

Also, move back indentation to make it easier to understand.

_get_glibc_version() can after astral-sh#9005 return either (0, 0) if glibc
string is missing or (-1, -1) if the string can't be parsed. There was
no need to change missing string to (0, 0).

Also, move back indentation to make it easier to understand.
@zanieb zanieb requested a review from konstin November 21, 2024 14:24
version_str = _glibc_version_string()
if version_str is None:
return (0, 0)
return (-1, -1)
Copy link
Member

Choose a reason for hiding this comment

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

Yeah I don't think this should have changed. \cc @konstin

Copy link
Member

Choose a reason for hiding this comment

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

(In part because this is vendored.)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yea, I implied that on my comment in the PR but I wasn't clear enough.

@charliermarsh charliermarsh merged commit a513301 into astral-sh:main Nov 21, 2024
@jooon jooon deleted the fix_interpreter_info branch November 22, 2024 23:23
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