`python -m` semantics conflict with `__file__`'s being optional
Open
Nobody has claimed this yet.
3.10
3.8 (EOL)
3.9 (EOL)
interpreter-core
stdlib
topic-importlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 42315 |
|---|---|
| Nosy | @ncoghlan, @ericsnowcurrently, @wkschwartz |
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-11-10.16:52:44.073>
labels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10', 'library']
title = "`python -m` semantics conflict with `__file__`'s being optional"
updated_at = <Date 2020-11-10.21:55:49.704>
user = 'https://github.com/wkschwartz'
bugs.python.org fields:
activity = <Date 2020-11-10.21:55:49.704>
actor = 'brett.cannon'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core', 'Library (Lib)']
creation = <Date 2020-11-10.16:52:44.073>
creator = 'William.Schwartz'
dependencies = []
files = []
hgrepos = []
issue_num = 42315
keywords = []
message_count = 1.0
messages = ['380689']
nosy_count = 3.0
nosy_names = ['ncoghlan', 'eric.snow', 'William.Schwartz']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42315'
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 files, tests, reproduction, or entry points are provided. Start by reading the issue's description and investigating the interaction between python -m execution semantics and optional __file__; done requires an agreed behavior and corresponding coverage for the reported conflict.
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