1. Benjamin Peterson
  2. six
  3. Issues
Issue #85 resolved

As of 1.7.3 `six.wraps` doesn't pass arguments `assigned` and `updated` to the underlying `functools.wraps`

Anonymous created an issue

This prevents from using six.wraps in specific context, e.g. decorating init method of class that doesn't define it (i.e. inherits it) - because by default functools.wraps copies 'module', 'name' and 'doc' attributes - while 'module' attribute is absent for __init__ method of such class.

Comments (1)

  1. Log in to comment