global declarations affect too much inside exec or compile
Open
Nobody has claimed this yet.
3.10
3.8 (EOL)
3.9 (EOL)
interpreter-core
triaged
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
Description
| BPO | 42190 |
|---|---|
| Nosy | @gvanrossum, @terryjreedy, @lysnikolaou, @pablogsal |
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 2020-10-29.05:07:31.334>
labels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10']
title = 'global declarations affect too much inside exec or compile'
updated_at = <Date 2020-10-31.01:01:46.824>
user = 'https://bugs.python.org/KevinShweh'
bugs.python.org fields:
activity = <Date 2020-10-31.01:01:46.824>
actor = 'pablogsal'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-10-29.05:07:31.334>
creator = 'Kevin Shweh'
dependencies = []
files = []
hgrepos = []
issue_num = 42190
keywords = []
message_count = 4.0
messages = ['379855', '380024', '380028', '380029']
nosy_count = 5.0
nosy_names = ['gvanrossum', 'terry.reedy', 'Kevin Shweh', 'lys.nikolaou', 'pablogsal']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42190'
versions = ['Python 3.8', '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
No source file or test is named. Start by reading the linked BPO issue 42190 and tracing the interpreter-core handling of global declarations in exec and compile; done means the scope behavior is corrected and covered by regression tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100