IronLanguages / IronLanguages/ironpython3

IronPython parsing of sys.version

Open
#1,667 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

Description

In https://github.com/python/cpython/pull/102492 the IronPyhon 2.x version parsing is removed. We are wondering whether the other regular expression parsing a version tag, e.g. https://github.com/python/cpython/pull/102492/files#diff-cb1ba6039236dca71c97ea898f2798c60262c30614192862259889f839e4d503L1043-L1048 is still correct and relevant for ironpython as there is a difference with the one in current ironpython git: https://github.com/IronLanguages/ironpython3/blob/f41afc44534786721b89e1efb8e50c4232ee1224/Src/StdLib/Lib/platform.py#L1141

@slozier

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Src/StdLib/Lib/platform.py around line 1141 and compare its version-tag regular expression with the CPython PR 102492 diff and the linked current IronPython implementation. Determine whether the parsing remains correct for IronPython; done means the compatibility question has a documented decision and any required follow-up is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.