Wrong inspect.getsource for datetime
Open
Nobody has claimed this yet.
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 32313 |
|---|---|
| Nosy | @abalkin, @asmeurer, @1st1, @srinivasreddy, @pganssle, @corona10, @tirkarthi, @iritkatriel |
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.21:46:39.074>
labels = ['3.7', '3.8', 'type-bug', 'library']
title = 'Wrong inspect.getsource for datetime'
updated_at = <Date 2020-08-27.21:16:51.918>
user = 'https://github.com/asmeurer'
bugs.python.org fields:
activity = <Date 2020-08-27.21:16:51.918>
actor = 'p-ganssle'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-12-13.21:46:39.074>
creator = 'Aaron.Meurer'
dependencies = []
files = []
hgrepos = []
issue_num = 32313
keywords = []
message_count = 6.0
messages = ['308255', '325495', '375821', '375912', '375932', '376014']
nosy_count = 8.0
nosy_names = ['belopolsky', 'Aaron.Meurer', 'yselivanov', 'thatiparthy', 'p-ganssle', 'corona10', 'xtreak', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue32313'
versions = ['Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8']
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 inspect.getsource behavior with datetime, then trace the relevant inspect and datetime entry points in CPython. Completion requires a confirmed correction and a regression test covering the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100