IronLanguages / IronLanguages/ironpython3
Clean up setting prefix/exec_prefix during startup
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 316
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 1
Description
prefix (Lib location) and exec_prefix (Include location, not used in IronPython) get set multiple times in multiple places, using inconsistent locations, during interpreter startup. Arguably the DLLs shouldn't even try to set the prefix and instead rely on getting it from the host, which will know where it's stdlib is stored.
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
No files or tests are named. Trace interpreter startup and every assignment to prefix and exec_prefix, comparing the locations used by the DLLs and host; the work is done when their ownership and initialization locations are consistent and unnecessary DLL assignments are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100