Indeed, I opened the PR when I was adding this to pygit2.