Skip to content

PEP-0479 conformance for SymbolicReference._iter_packed_refs(...) #394

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
ghost opened this issue Mar 7, 2016 · 0 comments
Closed

PEP-0479 conformance for SymbolicReference._iter_packed_refs(...) #394

ghost opened this issue Mar 7, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 7, 2016

When unit testing my application that leverages GitPython (1.0.1) with Python 3.5.1, I see this PendingDeprecationWarning:

generator 'SymbolicReference._iter_packed_refs' raised StopIteration for sha, rela_path in cls._iter_packed_refs(repo):

This is described in PEP 0479 -- Change StopIteration handling inside generators.

@Byron Byron closed this as completed in c4c6851 Mar 28, 2016
@Byron Byron added this to the v1.0.3 - Fixes milestone Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant