functools.update_wrapper doesn't understand partial objects and annotations
Open
Nobody has claimed this yet.
3.11
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 46847 |
|---|---|
| Nosy | @rhettinger, @larryhastings, @merwok, @JelleZijlstra, @sobolevn, @AlexWaygood |
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 2022-02-24.09:47:13.764>
labels = ['type-bug', 'library', '3.11']
title = "functools.update_wrapper doesn't understand partial objects and annotations"
updated_at = <Date 2022-02-26.15:06:27.626>
user = 'https://github.com/larryhastings'
bugs.python.org fields:
activity = <Date 2022-02-26.15:06:27.626>
actor = 'eric.araujo'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2022-02-24.09:47:13.764>
creator = 'larry'
dependencies = []
files = []
hgrepos = []
issue_num = 46847
keywords = []
message_count = 1.0
messages = ['413898']
nosy_count = 6.0
nosy_names = ['rhettinger', 'larry', 'eric.araujo', 'JelleZijlstra', 'sobolevn', 'AlexWaygood']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue46847'
versions = ['Python 3.11']
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 with functools.update_wrapper and investigate how it handles partial objects and annotations. The work is done when the reported behavior is corrected for those cases and the needed tests pass; the issue marks testing as needed but does not name a test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100