Skip to content

Conversation

@mhils
Copy link
Member

@mhils mhils commented Sep 19, 2015

This PR supersedes #7 and allows setting all frame attributes via constructors. The only unusual thing in this PR might be that mixin arguments (and flags) are provided as keyword arguments only. This has been done as the combination of mixins and positional arguments tends to be quite confusing.

An alternative would be to repeat all arguments in each constructor, but I found this to be quite verbose.

@Lukasa
Copy link
Member

Lukasa commented Sep 19, 2015

This is great, thanks! 🍰 ✨ 🍰

Lukasa added a commit that referenced this pull request Sep 19, 2015
Allow attributes to be set via constructors
@Lukasa Lukasa merged commit 3e75755 into python-hyper:master Sep 19, 2015
@mhils mhils deleted the better-constructors branch September 19, 2015 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants