Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start with runpy.run_module(..., alter_sys=True) and review the linked patch.diff and patch-2.diff. Resolve the intended behavior from the issue discussion; done means changing sys.argv[0] is disabled for this mode, with the relevant behavior covered by tests.
Written by the indexing model from the issue text.
Description
| BPO | 26388 |
|---|---|
| Nosy | @ncoghlan, @ericsnowcurrently, @wkschwartz |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2016-02-18.22:37:01.371>
labels = ['type-feature', 'library']
title = 'Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)'
updated_at = <Date 2020-11-10.16:26:03.057>
user = 'https://bugs.python.org/mikekap'
bugs.python.org fields:
activity = <Date 2020-11-10.16:26:03.057>
actor = 'William.Schwartz'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2016-02-18.22:37:01.371>
creator = 'mikekap'
dependencies = []
files = ['41981', '45201']
hgrepos = []
issue_num = 26388
keywords = ['patch']
message_count = 11.0
messages = ['260483', '260492', '260661', '260662', '260701', '260761', '262975', '262977', '279288', '279345', '279709']
nosy_count = 5.0
nosy_names = ['ncoghlan', 'eric.snow', 'piotr.dobrogost', 'William.Schwartz', 'mikekap']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue26388'
versions = ['Python 3.6']
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
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.
More from python/cpython
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
build type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
stdlib topic-email type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100