Skip to content

Conversation

BenLewis-Seequent
Copy link

This removes the requirement that properties need to be symmetric.

As discussed in #665, it's useful for properties to be asymmetric, to provide more appropriate error messages and the ability for 'get' to return a value but 'set' to take a reference.

@OddCoincidence
Copy link
Contributor

The symmetric thing was a cool idea though 😄

@OddCoincidence OddCoincidence merged commit b50ecf1 into RustPython:master Mar 14, 2019
@BenLewis-Seequent BenLewis-Seequent deleted the property_type_param branch March 29, 2019 06:06
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