Eliminate duplication of the check for the MS_WINDOWS macro.
Open
Nobody has claimed this yet.
interpreter-core
type-refactor
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
I think there is no need to check for MS_WINDOWS macro twice here.
Linked PRs
- gh-138207
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Python/pythonrun.c lines 34-43 and compare the two MS_WINDOWS checks. Review linked PR gh-138207; done means the duplicate check is eliminated without changing platform-specific behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100