Skip to content

Navigation Menu

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

Appearance settings

partially fix sys.getwindowsversion() #5595

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 14, 2025
Merged

Conversation

arihant2math
Copy link
Collaborator

@arihant2math arihant2math commented Mar 11, 2025

The build field is still somewhat wrong though.

@youknowone
Copy link
Member

Could you add a test under extra_test to check the versions are aligned to CPython return?

@arihant2math
Copy link
Collaborator Author

I can't really judge the results of the function call against anything, so I just ensured it wasn't 6 (which is windows XP).

Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

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

Ah, right. It is tricky and only writable above snippets level.

@youknowone youknowone merged commit 8e22c39 into RustPython:main Mar 14, 2025
11 checks passed
@arihant2math arihant2math deleted the sys-fix branch March 14, 2025 06:29
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.