Skip to content

Fixes Tag.signature field #901

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

Closed
wants to merge 1 commit into from
Closed

Conversation

sobolevn
Copy link

I am opening this PR, because new version of mypy identified a bug in this definition.
self.signature is not in __slots__. I looked like a typo.
Unit tests in tests/ seem to ignore this method.

Please, feel free to close if this is not a bug and there's some extra magic I've missed.
Related python/mypy#10864

@sobolevn
Copy link
Author

Ok, I see that signature is a serializable_property and this is a false positive. https://github.com/dulwich/dulwich/blob/ede437fa736597a57c3fab7ef69fc281184a80f8/dulwich/objects.py#L868

Sorry for the noise!

@sobolevn sobolevn closed this Sep 14, 2021
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