Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'assigned' option defaults to functools.WRAPPER_ASSIGNMENTS #17

Closed
benoitbryon opened this issue Aug 1, 2015 · 0 comments
Closed

'assigned' option defaults to functools.WRAPPER_ASSIGNMENTS #17

benoitbryon opened this issue Aug 1, 2015 · 0 comments

Comments

@benoitbryon
Copy link
Contributor

As of version 0.5.1, assigned option of Decorum class defaults to ('__doc__', '__name__').
What about using functools.WRAPPER_ASSIGNMENTS:

  • would be consistent with a feature of Python's standard library
  • functools.WRAPPER_ASSIGNMENTS has not the same value in Python 2 and Python 3. I suppose it reflects meaningful changes, i.e. decorum may follow this evolution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants