python / python/cpython

Speed up sysconfig

Open
#98,718 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

performance topic-sysconfig type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

sysconfig is currently a bit slow to be able to imported at startup, as would be required in #88142, so it would make sense to try to speed it up where we can.

  • PR: gh-99273
  • PR: gh-98719

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 the sysconfig module and the startup-import context described in issue #88142. Review PRs #99273 and #98719 to understand the work already underway; completion would require an agreed reduction in sysconfig import cost.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.