indygreg / indygreg/PyOxidizer

Consider `auto-initialize` feature for `pyembed`

Open
#502 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

An idea suggested in #500 was to have a crate feature in `pyembed` for auto-initializing the Python interpreter. Kind of like what the `cpython` and `pyo3` crates do so there is a turnkey way for the crate itself to manage a global interpreter state without consumers having to write much code.

My knee jerk reaction is the idea is worth pursuing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing issue #500 and the existing pyembed crate, then compare how the cpython and pyo3 crates handle automatic Python interpreter initialization. Establish the feature's scope, global interpreter-state behavior, and consumer-facing interface before deciding whether the proposal is ready for implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.