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

Remove TraitSetObject.copy. #733

Closed
mdickinson opened this issue Jan 10, 2020 · 1 comment · Fixed by #759
Closed

Remove TraitSetObject.copy. #733

mdickinson opened this issue Jan 10, 2020 · 1 comment · Fixed by #759
Assignees
Milestone

Comments

@mdickinson
Copy link
Member

Now that we're Python 3 only, we don't need TraitSetObject.copy any more. It's harmless, except in that it misleads people (me) into expecting that TraitDictObject.copy and TraitListObject.copy should exist, too.

OTOH, we should also make sure that there are tests for calling the .copy method on the value of a Set trait.

See #97, #98.

@mdickinson
Copy link
Member Author

we should also make sure that there are tests

Scratch that. @rkern already added a test in #98.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants