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

Fix stack trimming. #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wernerwws
Copy link

Fixes the self.stack = self.stack[-self.max_size:] resulting in TypeError: unhashable type: 'slice' because stack is of type list.

I am not a Python programmer and there are probably much better ways to fix this, but perhaps it helps, although this software is only for educational purposes.

The package is great for the understanding of the Geneve protocol and helped me a lot - Thank you!

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.

1 participant