This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: contextlib.contextmanager does not use functools.wraps
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ncoghlan Nosy List: benjamin.peterson, georg.brandl, ncoghlan, pitrou
Priority: low Keywords:

Created on 2008-01-06 22:59 by pitrou, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg59413 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2008-01-06 22:59
The contextmanager function should call functools.wraps instead of
having its own attribute copying code. Just something I noticed while
reading the source.
msg66024 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-04-30 21:00
Can this be fixed?
msg66025 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-04-30 21:08
Done in r62605.
History
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46089
2008-04-30 21:08:56georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg66025
nosy: + georg.brandl
2008-04-30 21:00:38benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg66024
2008-01-07 16:42:51georg.brandlsetpriority: low
type: behavior
2008-01-06 23:34:17georg.brandlsetassignee: ncoghlan
nosy: + ncoghlan
2008-01-06 22:59:04pitroucreate