inspect.getsourceslines() consider lambda of one line only
Open
Nobody has claimed this yet.
3.10
3.9 (EOL)
extension-modules
OS-windows
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 44474 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @zooba, @Welgriv |
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 2021-06-21.13:33:42.251>
labels = ['type-bug', '3.9', '3.10', 'extension-modules', 'library', 'OS-windows']
title = 'inspect.getsourceslines() consider lambda of one line only'
updated_at = <Date 2021-06-21.13:33:42.251>
user = 'https://github.com/Welgriv'
bugs.python.org fields:
activity = <Date 2021-06-21.13:33:42.251>
actor = 'Welgriv'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules', 'Library (Lib)', 'Windows']
creation = <Date 2021-06-21.13:33:42.251>
creator = 'Welgriv'
dependencies = []
files = []
hgrepos = []
issue_num = 44474
keywords = []
message_count = 1.0
messages = ['396245']
nosy_count = 5.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'Welgriv']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue44474'
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 reported behavior for inspect.getsourcelines() with a one-line lambda on Windows. Read the inspect module's source-extraction behavior and compare the result with the expected handling described in the issue. Done means the behavior is corrected and covered by an appropriate regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100