Accept any mapping for os.execve env argument#7141
Accept any mapping for os.execve env argument#7141youknowone merged 2 commits intoRustPython:mainfrom
Conversation
📝 WalkthroughWalkthroughThe PR modifies environment parameter handling in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Code has been automatically formatted The code in this PR has been formatted using:
git pull origin execve |
501e74e to
034f9ae
Compare
Change env parameter from PyDictRef to ArgMapping so that EnvironmentVarGuard and other mapping types are accepted.
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [ ] lib: cpython/Lib/http dependencies:
dependent tests: (23 tests)
[x] lib: cpython/Lib/threading.py dependencies:
dependent tests: (113 tests)
[x] test: cpython/Lib/test/test_wmi.py dependencies: dependent tests: (no tests depend on wmi) Legend:
|
Change env parameter from PyDictRef to ArgMapping so that EnvironmentVarGuard and other mapping types are accepted.
Summary by CodeRabbit
Release Notes
execveto accept environment variables in more flexible formats, providing improved compatibility with different input types and use cases.