Skip to content

Conversation

dean0x7d
Copy link
Member

@dean0x7d dean0x7d commented Apr 6, 2017

Fixes #775.

Assignments of the form Type.static_prop = value should be translated to Type.static_prop.__set__(value) except when isinstance(value, static_prop).

Fixes pybind#775.

Assignments of the form `Type.static_prop = value` should be translated to
`Type.static_prop.__set__(value)` except when `isinstance(value, static_prop)`.
@jagerman
Copy link
Member

jagerman commented Apr 6, 2017

Looks good to me.

@wjakob
Copy link
Member

wjakob commented Apr 7, 2017

Same here, please feel free to merge.

@dean0x7d dean0x7d merged commit e0e2ea3 into pybind:master Apr 7, 2017
@dean0x7d dean0x7d deleted the static_prop branch April 29, 2017 23:19
@dean0x7d dean0x7d modified the milestone: v2.2 Aug 13, 2017
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

Successfully merging this pull request may close these issues.

3 participants