We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's how to reproduce this.
from traits.api import HasTraits, Set class Test(HasTraits): s = Set() def fail(self): s = self.s.copy() # Point of failure s.discard('foo') t = Test(s=set(['foo', 'bar'])) t.fail()
The text was updated successfully, but these errors were encountered:
BUG: Return a true set in TraitSetObject.copy()
set
TraitSetObject.copy()
f1ff940
Otherwise, an uninitialized TraitSetObject is returned, and operations on it will fail. Fixes #97.
TraitSetObject.copy
Successfully merging a pull request may close this issue.
Here's how to reproduce this.
The text was updated successfully, but these errors were encountered: