You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is pretty-much a straight backport of Py3 implementations of update_wrapper and (privately) wraps.
Fixes#250Fixes#165
Co-authored-by: Benjamin Peterson <benjamin@python.org>
Here's a repro script that fails in Python 2, but works in Python 3:
On Python 2 it fails with
On Python 3 it succeeeds, because it was fixed in in https://bugs.python.org/issue3445. Given the trivial implementation it should be enough to backport the update_wrapper function as-is.
The text was updated successfully, but these errors were encountered: