print(os.environ.keys()) should only print the keys
Open
Nobody has claimed this yet.
3.12
stdlib
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 32300 |
|---|---|
| Nosy | @rhettinger, @vstinner, @bitdancer, @asmeurer, @serhiy-storchaka, @csabella |
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 2017-12-13.08:37:00.625>
labels = ['type-bug', 'library', '3.9', '3.10']
title = 'print(os.environ.keys()) should only print the keys'
updated_at = <Date 2020-11-06.19:11:50.449>
user = 'https://github.com/asmeurer'
bugs.python.org fields:
activity = <Date 2020-11-06.19:11:50.449>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-12-13.08:37:00.625>
creator = 'Aaron.Meurer'
dependencies = []
files = []
hgrepos = []
issue_num = 32300
keywords = []
message_count = 20.0
messages = ['308190', '308199', '308200', '308219', '308220', '308223', '308241', '308244', '308249', '308251', '308266', '308309', '308314', '308315', '308321', '308334', '308335', '308338', '308357', '308358']
nosy_count = 6.0
nosy_names = ['rhettinger', 'vstinner', 'r.david.murray', 'Aaron.Meurer', 'serhiy.storchaka', 'cheryl.sabella']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue32300'
versions = ['Python 3.9', 'Python 3.10']
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.
Research direction
Start by reproducing the behavior of print(os.environ.keys()) and trace the os.environ implementation in the standard library. Check the existing library tests for environment mappings; done means the expression prints only environment-variable keys while preserving the expected mapping behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100