[issue1748] contextlib.contextmanager does not use functools.wraps

Antoine Pitrou report at bugs.python.org
Sun Jan 6 23:59:06 CET 2008


New submission from Antoine Pitrou:

The contextmanager function should call functools.wraps instead of
having its own attribute copying code. Just something I noticed while
reading the source.

----------
components: Library (Lib)
messages: 59413
nosy: pitrou
severity: minor
status: open
title: contextlib.contextmanager does not use functools.wraps
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1748>
__________________________________


More information about the Python-bugs-list mailing list