-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
make easier to detect and remove bad keys from archive #67
Comments
Bad keys can be often removed with Keys that can be added to the archive, but are (for example) unhashable and thus can't be used in a dict view of the archive... should either not be allowed, or possibly more favorably, the 'dict' view of the archive should allow unhashable types. Keys that are bad (but in the archive) should have a method that enables them to be detected (like We should also be able to identify bad entries with More care needs to be taken to not allow bad keys to be added, or if bad keys/values/items are in the archive, then it should be easy to detect and purge them (i.e. |
For example, the key Another case might be a corrupt file/entry.... these cases should get mocked up in test code. |
pushing this just into the next release, but on the short list. |
Bad keys can come in the form of unhashable types... that can successfully be added to the underlying archive, but then certain methods fail when trying to use the dict interface to the archive. Failure can be that
archive.__asdict__()
throws an Error or appears empty.See examples in #56, #64, #66.
The text was updated successfully, but these errors were encountered: