indygreg / indygreg/PyOxidizer
Avoid conflict in program arguments
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
I am working with pyembed to embed a python kernel and using default python config for the kernel. however, i can see that there is an issue when im trying to pass args to my program to start. error is:
```
Try `python -h' for more information.
Error: during initializing Python core: could not format PyStatus
```
any ideas?
Also, when running `cargo test -- --nocapture`, im getting:
```
unknown option --nocapture
Dynamic("during initializing Python core: could not format PyStatus")'
```
without `-- --nocapture`, my tests run fine.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with pyembed's default Python config, first using program arguments and then `cargo test -- --nocapture`; compare which arguments reach embedded Python initialization. Done means program arguments and Cargo's test passthrough no longer produce the reported Python initialization error, while the existing tests still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100