Skip to content

Fix stack trimming.#1

Open
wernerwws wants to merge 1 commit intosentialabs:mainfrom
red-lever-solutions:fix-stack-trimming
Open

Fix stack trimming.#1
wernerwws wants to merge 1 commit intosentialabs:mainfrom
red-lever-solutions:fix-stack-trimming

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