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

BitCache should implement matching data structures from the collections.abc module #18

Open
pedrorrivero opened this issue May 30, 2021 · 0 comments
Labels
DC-3 Difficulty class 3/5 → Domain/tech specific knowledge enhancement New feature or request

Comments

@pedrorrivero
Copy link
Owner

Is your feature request related to a problem? Please describe.

The internal structure of BitCache is very similar to some common data structures. However, it does not implement any of their interfaces, making it incompatible with many of the already existing (and very useful) libraries and functions.

Describe the solution you'd like

BitCache should be refactored so that it adheres to all relevant and applicable data structures from the collections.abc module.

Describe alternatives you've considered

The alternative consists on relying on duck-typing alone.

Additional context

This might require changing the signature of some of the methods already defined, nonetheless, as of June 2021, this would not mean a breaking change; since BitCache and its specific implementations are only used internally.

@pedrorrivero pedrorrivero added enhancement New feature or request DC-3 Difficulty class 3/5 → Domain/tech specific knowledge labels May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DC-3 Difficulty class 3/5 → Domain/tech specific knowledge enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant